Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 58238 Details for
Bug 169672
WSDM Tooling: New Empty capablity could not be created
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch for this issue
patch.txt (text/plain), 1.83 KB, created by
Saurabh Dravid
on 2007-02-05 02:27:25 EST
(
hide
)
Description:
Patch for this issue
Filename:
MIME Type:
Creator:
Saurabh Dravid
Created:
2007-02-05 02:27:25 EST
Size:
1.83 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.wsdm.editor >Index: src/org/eclipse/tptp/wsdm/tooling/wizard/capability/internal/NewCapabilityWizard.java >=================================================================== >RCS file: /cvsroot/tptp/monitoring/org.eclipse.tptp.wsdm.editor/src/org/eclipse/tptp/wsdm/tooling/wizard/capability/internal/NewCapabilityWizard.java,v >retrieving revision 1.2 >diff -u -r1.2 NewCapabilityWizard.java >--- src/org/eclipse/tptp/wsdm/tooling/wizard/capability/internal/NewCapabilityWizard.java 2 Feb 2007 12:33:27 -0000 1.2 >+++ src/org/eclipse/tptp/wsdm/tooling/wizard/capability/internal/NewCapabilityWizard.java 5 Feb 2007 07:18:31 -0000 >@@ -510,9 +510,12 @@ > > Property[] importedProperties = (Property[]) _options > .get(CapabilityWizardKeys.IMPORT_PROPERTY_KEY); >- ImportPropertyCommand command = new ImportPropertyCommand( >- resourcePropertyElement, importedProperties); >- command.execute(); >+ if(importedProperties.length!=0) >+ { >+ ImportPropertyCommand command = new ImportPropertyCommand( >+ resourcePropertyElement, importedProperties); >+ command.execute(); >+ } > } > > private void createAnnotation(XSDSchema schema) >@@ -546,10 +549,13 @@ > > Operation[] importOperations = (Operation[]) _options > .get(CapabilityWizardKeys.IMPORT_OPERATION_KEY); >- URI importedWsdlURI = _importOperationPage.getImportedWsdlURI(); >- ImportOperationCommand command = new ImportOperationCommand( >- _wsdlCapDefinition, importOperations, importedWsdlURI); >- command.execute(); >+ if(importOperations.length!=0) >+ { >+ URI importedWsdlURI = _importOperationPage.getImportedWsdlURI(); >+ ImportOperationCommand command = new ImportOperationCommand( >+ _wsdlCapDefinition, importOperations, importedWsdlURI); >+ command.execute(); >+ } > } > > private void wsdlEdit()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169672
: 58238 |
61968
|
62033