diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/IPersistableDebugElement.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/IPersistableDebugElement.java | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/IPersistableDebugElement.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/IPersistableDebugElement.java deleted file mode 100644 index 338db1a96..000000000 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/IPersistableDebugElement.java +++ /dev/null @@ -1,63 +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.debug.internal.ui.memory; - -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.Preferences.IPropertyChangeListener; - -/** - * Represents an element that is capable of persisting properties. - * @since 3.2 - */ -public interface IPersistableDebugElement { - - /** - * Return the property with the specified propertyId. - * @param context is the context who is asking for this property. - * @param propertyId is the property id of the property. - * @return the value of the specified property - * @throws CoreException when an error has occurred getting this property - */ - public Object getProperty(Object context, String propertyId) throws CoreException; - - /** - * Sets the property with the specified propertyId. Clients are expected - * to save the properties specified. - * @param context is the context who is asking for this property to be saved. - * @param propertyId is the id of the property to be saved - * @param value is the value of the property - * @throws CoreException when an error has occurred setting this property - */ - public void setProperty(Object context, String propertyId, Object value) throws CoreException; - - /** - * @param context is the contex who is asking if this property is supported - * @param propertyId - * @return true if the peristable debug element wishes to handle persistence of - * the specified property. - */ - public boolean supportsProperty(Object context, String propertyId); - - /** - * Add the property change listener to the persistable. The listener will - * be notified when properties have changed from the peristable element. - * @param listener is the listener to add - */ - public void addPropertyChangeListener(IPropertyChangeListener listener); - - /** - * Remove the property change listener from the persistable. The listener will - * no longer be notified when properties are changed from the persistable element. - * @param listener is the listener to remove - */ - public void removePropertyChangeListener(IPropertyChangeListener listener); -} |