diff options
Diffstat (limited to 'bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery/ModelQueryAdapterFactoryForEmbeddedHTML.java')
-rw-r--r-- | bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery/ModelQueryAdapterFactoryForEmbeddedHTML.java | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery/ModelQueryAdapterFactoryForEmbeddedHTML.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery/ModelQueryAdapterFactoryForEmbeddedHTML.java deleted file mode 100644 index ef7c2638c4..0000000000 --- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery/ModelQueryAdapterFactoryForEmbeddedHTML.java +++ /dev/null @@ -1,47 +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.html.core.internal.modelquery; - - - -import org.eclipse.wst.sse.core.internal.provisional.INodeAdapter; -import org.eclipse.wst.sse.core.internal.provisional.INodeAdapterFactory; -import org.eclipse.wst.sse.core.internal.provisional.INodeNotifier; -import org.eclipse.wst.xml.core.internal.ssemodelquery.ModelQueryAdapter; - -public class ModelQueryAdapterFactoryForEmbeddedHTML extends ModelQueryAdapterFactoryForHTML { - - - /** - * Constructor for ModelQueryAdapterFactoryForEmbeddedHTML. - */ - public ModelQueryAdapterFactoryForEmbeddedHTML() { - super(ModelQueryAdapter.class, false); - } - - - public INodeAdapterFactory copy() { - - return new ModelQueryAdapterFactoryForEmbeddedHTML(); - } - - /** - * ISSUE: this "forces" a new one to always be created/returned, not - * "cached" on the node. That seems incorrect. Simply using - * shouldRegisterFalse should work, except, there might have been one - * there that someone else already explicitly put there, so this is only - * way I know to override that. Especially complicated here since a number - * of adapters are for ModelQueryAdapter.class. - */ - public INodeAdapter adapt(INodeNotifier object) { - return adaptNew(object); - } -}
\ No newline at end of file |