diff options
Diffstat (limited to 'bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/provisional/INodeAdapter.java')
-rw-r--r-- | bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/provisional/INodeAdapter.java | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/provisional/INodeAdapter.java b/bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/provisional/INodeAdapter.java deleted file mode 100644 index a81418e1fe..0000000000 --- a/bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/provisional/INodeAdapter.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 - * Jens Lukowski/Innoopract - initial renaming/restructuring - * - *******************************************************************************/ -package org.eclipse.wst.sse.core.internal.provisional; - -/** - * This interface allows nodes to be adapted. - * - * The main difference between this type of adapter (IAdaptable) and base - * adapter is that these adapters are notified of changes. - * - * @plannedfor 1.0 - */ - -public interface INodeAdapter { - - /** - * The infrastructure calls this method to determine if the adapter is - * appropriate for 'type'. Typically, adapters return true based on - * identity comparison to 'type', but this is not required, that is, the - * decision can be based on complex logic. - * - */ - boolean isAdapterForType(Object type); - - /** - * Sent to adapter when notifier changes. Each notifier is responsible for - * defining specific eventTypes, feature changed, etc. - * - * ISSUE: may be more evolvable if the argument was one big 'notifier - * event' instance. - */ - void notifyChanged(INodeNotifier notifier, int eventType, Object changedFeature, Object oldValue, Object newValue, int pos); -} |