diff options
author | nitind | 2008-11-21 21:13:14 +0000 |
---|---|---|
committer | nitind | 2008-11-21 21:13:14 +0000 |
commit | a781225e0ae71dff11c5c854e3745a0f308ba981 (patch) | |
tree | 5de2cdd939156440ec32df0983a464b5271f52f3 /bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDAnyTypeDefinitionAdapter.java | |
parent | cc427e1bb5003cb8396d1e94bd60a87ab5f50106 (diff) | |
download | webtools.sourceediting-200812232221.tar.gz webtools.sourceediting-200812232221.tar.xz webtools.sourceediting-200812232221.zip |
This commit was manufactured by cvs2svn to create tag 'v200812232221'.v200812232221
Diffstat (limited to 'bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDAnyTypeDefinitionAdapter.java')
-rw-r--r-- | bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDAnyTypeDefinitionAdapter.java | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDAnyTypeDefinitionAdapter.java b/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDAnyTypeDefinitionAdapter.java deleted file mode 100644 index 3e8dc51a32..0000000000 --- a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDAnyTypeDefinitionAdapter.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.xsd.ui.internal.adapters; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.gef.commands.Command; -import org.eclipse.wst.xsd.ui.internal.adt.facade.IADTObject; -import org.eclipse.wst.xsd.ui.internal.adt.facade.IModel; -import org.eclipse.xsd.XSDConcreteComponent; - -public class XSDAnyTypeDefinitionAdapter extends XSDTypeDefinitionAdapter -{ - public boolean isComplexType() - { - return false; - } - - public boolean isFocusAllowed() - { - return false; - } - - public String[] getActions(Object object) - { - return null; - } - - public boolean isAnonymous() - { - return false; - } - - public IADTObject getTopContainer() - { - return null; - } - - public Command getDeleteCommand() - { - return null; - } - - public IModel getModel() - { - Adapter adapter = XSDAdapterFactory.getInstance().adapt(((XSDConcreteComponent)target).getSchema()); - return (IModel)adapter; - } -} |