Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/ContextObject.java')
-rw-r--r--rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/ContextObject.java69
1 files changed, 0 insertions, 69 deletions
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/ContextObject.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/ContextObject.java
deleted file mode 100644
index ede02ccf5..000000000
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/ContextObject.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 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
- *
- * Initial Contributors:
- * The following IBM employees contributed to the Remote System Explorer
- * component that contains this file: David McKnight.
- *
- * Contributors:
- * {Name} (company) - description of contribution.
- *******************************************************************************/
-package org.eclipse.rse.ui.view;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.rse.core.filters.ISystemFilterReference;
-import org.eclipse.rse.core.subsystems.ISubSystem;
-
-
-/**
- * This class is used by tree views to pass context information from the views to
- * the view providers and model adapters for queries. The context information consists of
- * a model object and it may optionally contain the associated filter reference a subsystem.
- *
- * Context objects are created transiently and are only used to aid in providing filter information
- * during a query.
- *
- */
-public class ContextObject implements IContextObject
-{
- private ISubSystem _subSystem = null;
- private ISystemFilterReference _filterReference = null;
- private Object _modelObject = null;
-
- public ContextObject(Object modelObject, ISubSystem subSystem, ISystemFilterReference filterReference)
- {
- _subSystem = subSystem;
- _filterReference = filterReference;
- _modelObject = modelObject;
- }
-
- public ContextObject(Object modelObject, ISubSystem subSystem)
- {
- _modelObject = modelObject;
- _subSystem = subSystem;
- }
-
- public ContextObject(Object modelObject)
- {
- _modelObject = modelObject;
- }
-
- public ISystemFilterReference getFilterReference()
- {
- return _filterReference;
- }
-
- public ISubSystem getSubSystem()
- {
- return _subSystem;
- }
-
- public IAdaptable getModelObject()
- {
- return (IAdaptable)_modelObject;
- }
-}

Back to the top