diff options
author | nitind | 2007-03-28 07:12:54 +0000 |
---|---|---|
committer | nitind | 2007-03-28 07:12:54 +0000 |
commit | eb89b7a2e789b1aa1a16cbc9577fd868461a163f (patch) | |
tree | 28d2423dac811d301aa174b9c4363ef9b6f7c4dd /bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/commands/SetBaseTypeAndManagerDirectivesCommand.java | |
parent | d21d89ebd13b80a61b432dd5d27476d3117fdb5e (diff) | |
parent | 547e8e108a7a28cccdaf93628c969716776452e8 (diff) | |
download | webtools.sourceediting-200703280735.tar.gz webtools.sourceediting-200703280735.tar.xz webtools.sourceediting-200703280735.zip |
This commit was manufactured by cvs2svn to create tag 'v200703280735'.v200703280735
Diffstat (limited to 'bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/commands/SetBaseTypeAndManagerDirectivesCommand.java')
-rw-r--r-- | bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/commands/SetBaseTypeAndManagerDirectivesCommand.java | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/commands/SetBaseTypeAndManagerDirectivesCommand.java b/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/commands/SetBaseTypeAndManagerDirectivesCommand.java deleted file mode 100644 index 82aa5efe21..0000000000 --- a/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/commands/SetBaseTypeAndManagerDirectivesCommand.java +++ /dev/null @@ -1,37 +0,0 @@ -package org.eclipse.wst.xsd.ui.internal.common.commands; - -import org.eclipse.core.resources.IFile; -import org.eclipse.xsd.XSDComponent; -import org.eclipse.xsd.XSDConcreteComponent; -import org.eclipse.xsd.XSDTypeDefinition; - -public class SetBaseTypeAndManagerDirectivesCommand extends UpdateTypeReferenceAndManageDirectivesCommand -{ - - public SetBaseTypeAndManagerDirectivesCommand(XSDConcreteComponent concreteComponent, String componentName, String componentNamespace, IFile file) - { - super(concreteComponent, componentName, componentNamespace, file); - } - - public void execute() - { - try - { - beginRecording(concreteComponent.getElement()); - XSDComponent td = computeComponent(); - if (td != null && td instanceof XSDTypeDefinition) - { - SetBaseTypeCommand command = new SetBaseTypeCommand(concreteComponent, (XSDTypeDefinition) td); - command.execute(); - } - } - catch (Exception e) - { - - } - finally - { - endRecording(); - } - } -} |