diff options
author | Uwe Stieber | 2012-02-19 17:23:27 +0000 |
---|---|---|
committer | Uwe Stieber | 2012-02-20 08:38:54 +0000 |
commit | 5e7e69a25a56b5a37634056d65c32e13c93ea3ad (patch) | |
tree | 627f5f38214bffeb6510b48ec43103c2b3084e12 /target_explorer | |
parent | a6543eb48761a3496c8be1694999d7b6d9a1bfdc (diff) | |
download | org.eclipse.tcf-5e7e69a25a56b5a37634056d65c32e13c93ea3ad.tar.gz org.eclipse.tcf-5e7e69a25a56b5a37634056d65c32e13c93ea3ad.tar.xz org.eclipse.tcf-5e7e69a25a56b5a37634056d65c32e13c93ea3ad.zip |
Target Explorer: Fix encoded launch context class type detection
Diffstat (limited to 'target_explorer')
6 files changed, 537 insertions, 6 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/persistence/ContextSelectorPersistenceDelegate.java b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/persistence/ContextSelectorPersistenceDelegate.java index c26a521d9..ac1f84bd0 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/persistence/ContextSelectorPersistenceDelegate.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/persistence/ContextSelectorPersistenceDelegate.java @@ -33,6 +33,7 @@ import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; import org.eclipse.tcf.te.launch.core.activator.CoreBundleActivator; import org.eclipse.tcf.te.launch.core.lm.interfaces.IContextSelectorLaunchAttributes; import org.eclipse.tcf.te.launch.core.lm.interfaces.ILaunchSpecification; +import org.eclipse.tcf.te.runtime.model.factory.Factory; import org.eclipse.tcf.te.runtime.model.interfaces.IModelNode; import org.eclipse.tcf.te.runtime.stepper.interfaces.IStepContext; import org.osgi.framework.Bundle; @@ -229,7 +230,7 @@ public class ContextSelectorPersistenceDelegate { Assert.isNotNull(indentation); Assert.isNotNull(context); - writer.write(indentation + "<context type=\"" + context.getModelNode().getClass().getName() + "\">\n"); //$NON-NLS-1$ //$NON-NLS-2$ + writer.write(indentation + "<context type=\"" + context.getEncodedClassName() + "\">\n"); //$NON-NLS-1$ //$NON-NLS-2$ writer.write(indentation + "\t" + context.encode() + "\n"); //$NON-NLS-1$ //$NON-NLS-2$ writer.write(indentation + "</context>\n"); //$NON-NLS-1$ } @@ -437,10 +438,17 @@ public class ContextSelectorPersistenceDelegate { } if (clazz != null) { - // Try to load the step context - IStepContext context = (IStepContext)Platform.getAdapterManager().loadAdapter(clazz, IStepContext.class.getName()); - if (context != null && !contexts.contains(context)) { - contexts.add(context); + // Create an instance of this class and try to load the step context + Object object = Factory.getInstance().newInstance(clazz); + if (object != null) { + IStepContext context = (IStepContext)Platform.getAdapterManager().loadAdapter(object, IStepContext.class.getName()); + if (context != null) { + // Decodes the context object + context.decode(lastData); + if (!contexts.contains(context)) { + contexts.add(context); + } + } } } } diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepContext.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepContext.java index 082d9ff23..47c9782ca 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepContext.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepContext.java @@ -58,6 +58,15 @@ public interface IStepContext extends IModelNodeProvider { public String encode();
/**
+ * Returns the class name of the encoded context.
+ * <p>
+ * The class name is used to load the correct class to decode the persistable representation.
+ *
+ * @return The class name of the encoded context.
+ */
+ public String getEncodedClassName();
+
+ /**
* Decodes the given persistable representation and store the result
* in the context.
*
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/adapters/StepContextAdapter.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/adapters/StepContextAdapter.java index 963e9afa1..06860df9c 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/adapters/StepContextAdapter.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/internal/adapters/StepContextAdapter.java @@ -144,6 +144,14 @@ public class StepContextAdapter extends PlatformObject implements IStepContext { }
/* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.stepper.interfaces.IStepContext#getEncodedClassName()
+ */
+ @Override
+ public String getEncodedClassName() {
+ return IPeerModel.class.getName();
+ }
+
+ /* (non-Javadoc)
* @see org.eclipse.tcf.te.runtime.stepper.interfaces.IStepContext#decode(java.lang.String)
*/
@Override
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/META-INF/MANIFEST.MF b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/META-INF/MANIFEST.MF index 6f411df29..d3049fac1 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/META-INF/MANIFEST.MF +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/META-INF/MANIFEST.MF @@ -25,7 +25,9 @@ Export-Package: org.eclipse.tcf.te.tcf.locator, org.eclipse.tcf.te.tcf.locator.internal;x-internal:=true, org.eclipse.tcf.te.tcf.locator.internal.adapters;x-internal:=true, org.eclipse.tcf.te.tcf.locator.internal.nls;x-internal:=true, + org.eclipse.tcf.te.tcf.locator.internal.nodes;x-internal:=true, org.eclipse.tcf.te.tcf.locator.internal.preferences;x-internal:=true, + org.eclipse.tcf.te.tcf.locator.internal.services;x-internal:=true, org.eclipse.tcf.te.tcf.locator.listener, org.eclipse.tcf.te.tcf.locator.model, org.eclipse.tcf.te.tcf.locator.nodes, diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/internal/ModelNodeFactoryDelegate.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/internal/ModelNodeFactoryDelegate.java index b60c862ec..1c20c3488 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/internal/ModelNodeFactoryDelegate.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/internal/ModelNodeFactoryDelegate.java @@ -14,6 +14,7 @@ import org.eclipse.tcf.te.runtime.model.factory.AbstractFactoryDelegate2; import org.eclipse.tcf.te.runtime.model.interfaces.IModelNode;
import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.ILocatorModel;
import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel;
+import org.eclipse.tcf.te.tcf.locator.internal.nodes.IllegalPeerModel;
import org.eclipse.tcf.te.tcf.locator.nodes.PeerModel;
/**
@@ -24,8 +25,12 @@ public class ModelNodeFactoryDelegate extends AbstractFactoryDelegate2 { /* (non-Javadoc)
* @see org.eclipse.tcf.te.runtime.model.interfaces.factory.IFactoryDelegate#newInstance(java.lang.Class)
*/
- @Override
+ @SuppressWarnings("unchecked")
+ @Override
public <V extends IModelNode> V newInstance(Class<V> nodeInterface) {
+ if (IPeerModel.class.equals(nodeInterface)) {
+ return (V) new IllegalPeerModel();
+ }
return null;
}
@@ -35,6 +40,8 @@ public class ModelNodeFactoryDelegate extends AbstractFactoryDelegate2 { @SuppressWarnings("unchecked")
@Override
public <V extends IModelNode> V newInstance(Class<V> nodeInterface, Object[] args) {
+ if (args == null) return newInstance(nodeInterface);
+
if (IPeerModel.class.equals(nodeInterface)) {
// Peer model constructor has 2 arguments, ILocatorModel and IPeer
if (args.length == 2 && args[0] instanceof ILocatorModel && args[1] instanceof IPeer) {
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/internal/nodes/IllegalPeerModel.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/internal/nodes/IllegalPeerModel.java new file mode 100644 index 000000000..9ea71e60a --- /dev/null +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/internal/nodes/IllegalPeerModel.java @@ -0,0 +1,497 @@ +/*******************************************************************************
+ * Copyright (c) 2012 Wind River Systems, Inc. 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:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tcf.te.tcf.locator.internal.nodes;
+
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+
+import org.eclipse.core.runtime.jobs.ISchedulingRule;
+import org.eclipse.tcf.protocol.IPeer;
+import org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode;
+import org.eclipse.tcf.te.runtime.model.interfaces.IModelNode;
+import org.eclipse.tcf.te.runtime.model.interfaces.factory.IFactoryDelegate;
+import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.ILocatorModel;
+import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel;
+import org.eclipse.tcf.te.tcf.locator.internal.ModelNodeFactoryDelegate;
+
+/**
+ * Illegal peer model node implementation. All methods does throw an {@link IllegalStateException}.
+ * <p>
+ * Objects of this class are returned by the {@link ModelNodeFactoryDelegate} if calling
+ * {@link IFactoryDelegate#newInstance(Class)}. All what objects of this class can be used for is
+ * loading adapters.
+ */
+public final class IllegalPeerModel implements IPeerModel {
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode#add(org.eclipse.tcf.te.runtime.model.interfaces.IModelNode)
+ */
+ @Override
+ public boolean add(IModelNode child) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode#remove(org.eclipse.tcf.te.runtime.model.interfaces.IModelNode, boolean)
+ */
+ @Override
+ public boolean remove(IModelNode node, boolean recursive) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode#clear()
+ */
+ @Override
+ public boolean clear() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode#removeAll(java.lang.Class)
+ */
+ @Override
+ public <T> boolean removeAll(Class<T> nodeType) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode#getChildren()
+ */
+ @Override
+ public IModelNode[] getChildren() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode#getChildren(java.lang.Class)
+ */
+ @Override
+ public <T> List<T> getChildren(Class<T> nodeType) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode#hasChildren()
+ */
+ @Override
+ public boolean hasChildren() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode#size()
+ */
+ @Override
+ public int size() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode#contains(org.eclipse.tcf.te.runtime.model.interfaces.IModelNode)
+ */
+ @Override
+ public boolean contains(IModelNode node) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#getParent()
+ */
+ @Override
+ public IContainerModelNode getParent() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#getParent(java.lang.Class)
+ */
+ @Override
+ public <V extends IContainerModelNode> V getParent(Class<V> nodeType) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#setParent(org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode)
+ */
+ @Override
+ public void setParent(IContainerModelNode parent) throws IllegalStateException {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#move(org.eclipse.tcf.te.runtime.model.interfaces.IContainerModelNode)
+ */
+ @Override
+ public void move(IContainerModelNode newParent) throws IllegalStateException {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#isVisible()
+ */
+ @Override
+ public boolean isVisible() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#getName()
+ */
+ @Override
+ public String getName() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#getImageId()
+ */
+ @Override
+ public String getImageId() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#getError()
+ */
+ @Override
+ public String getError() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#getDescription()
+ */
+ @Override
+ public String[] getDescription() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#setDirty(boolean)
+ */
+ @Override
+ public void setDirty(boolean dirty) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#isDirty()
+ */
+ @Override
+ public boolean isDirty() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#setPending(boolean)
+ */
+ @Override
+ public void setPending(boolean pending) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#isPending()
+ */
+ @Override
+ public boolean isPending() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.model.interfaces.IModelNode#find(java.util.UUID)
+ */
+ @Override
+ public IModelNode find(UUID uuid) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#getUUID()
+ */
+ @Override
+ public UUID getUUID() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#setChangeEventsEnabled(boolean)
+ */
+ @Override
+ public boolean setChangeEventsEnabled(boolean enabled) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#changeEventsEnabled()
+ */
+ @Override
+ public boolean changeEventsEnabled() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#fireChangeEvent(java.lang.String, java.lang.Object, java.lang.Object)
+ */
+ @Override
+ public void fireChangeEvent(String key, Object oldValue, Object newValue) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#setProperties(java.util.Map)
+ */
+ @Override
+ public void setProperties(Map<String, Object> properties) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#setProperty(java.lang.String, java.lang.Object)
+ */
+ @Override
+ public boolean setProperty(String key, Object value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#setProperty(java.lang.String, long)
+ */
+ @Override
+ public boolean setProperty(String key, long value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#setProperty(java.lang.String, int)
+ */
+ @Override
+ public boolean setProperty(String key, int value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#setProperty(java.lang.String, boolean)
+ */
+ @Override
+ public boolean setProperty(String key, boolean value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#setProperty(java.lang.String, float)
+ */
+ @Override
+ public boolean setProperty(String key, float value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#setProperty(java.lang.String, double)
+ */
+ @Override
+ public boolean setProperty(String key, double value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#getProperties()
+ */
+ @Override
+ public Map<String, Object> getProperties() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#getProperty(java.lang.String)
+ */
+ @Override
+ public Object getProperty(String key) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#getStringProperty(java.lang.String)
+ */
+ @Override
+ public String getStringProperty(String key) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#getLongProperty(java.lang.String)
+ */
+ @Override
+ public long getLongProperty(String key) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#getIntProperty(java.lang.String)
+ */
+ @Override
+ public int getIntProperty(String key) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#getBooleanProperty(java.lang.String)
+ */
+ @Override
+ public boolean getBooleanProperty(String key) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#getFloatProperty(java.lang.String)
+ */
+ @Override
+ public float getFloatProperty(String key) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#getDoubleProperty(java.lang.String)
+ */
+ @Override
+ public double getDoubleProperty(String key) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#clearProperties()
+ */
+ @Override
+ public void clearProperties() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#isEmpty()
+ */
+ @Override
+ public boolean isEmpty() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#isPropertyIgnoreCase(java.lang.String, java.lang.String)
+ */
+ @Override
+ public boolean isPropertyIgnoreCase(String key, String value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#isProperty(java.lang.String, java.lang.Object)
+ */
+ @Override
+ public boolean isProperty(String key, Object value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#isProperty(java.lang.String, long)
+ */
+ @Override
+ public boolean isProperty(String key, long value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#isProperty(java.lang.String, int)
+ */
+ @Override
+ public boolean isProperty(String key, int value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#isProperty(java.lang.String, boolean)
+ */
+ @Override
+ public boolean isProperty(String key, boolean value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#isProperty(java.lang.String, float)
+ */
+ @Override
+ public boolean isProperty(String key, float value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer#isProperty(java.lang.String, double)
+ */
+ @Override
+ public boolean isProperty(String key, double value) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
+ */
+ @Override
+ public Object getAdapter(Class adapter) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.core.runtime.jobs.ISchedulingRule#contains(org.eclipse.core.runtime.jobs.ISchedulingRule)
+ */
+ @Override
+ public boolean contains(ISchedulingRule rule) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.core.runtime.jobs.ISchedulingRule#isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule)
+ */
+ @Override
+ public boolean isConflicting(ISchedulingRule rule) {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel#getModel()
+ */
+ @Override
+ public ILocatorModel getModel() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel#getPeer()
+ */
+ @Override
+ public IPeer getPeer() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel#getPeerId()
+ */
+ @Override
+ public String getPeerId() {
+ throw new IllegalStateException();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel#isComplete()
+ */
+ @Override
+ public boolean isComplete() {
+ throw new IllegalStateException();
+ }
+}
|