blob: d1af30b0834f9b2fb794da4c0d1b2b8d75e81b29 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2008 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.help.ui.internal.views;
import org.eclipse.help.IContext;
import org.eclipse.help.IContextProvider;
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.IWorkbenchPart;
public class ContextHelpProviderInput {
private IContext context;
private IContextProvider provider;
private Control control;
private IWorkbenchPart part;
private boolean explicitRequest;
public ContextHelpProviderInput(IContextProvider provider, IContext context, Control control, IWorkbenchPart part, boolean explicitRequest) {
this.provider = provider;
this.context = context;
this.control =control;
this.part = part;
this.explicitRequest = explicitRequest;
}
public IContextProvider getProvider() {
return provider;
}
public IContext getContext() {
return context;
}
public Control getControl() {
return control;
}
public IWorkbenchPart getPart() {
return part;
}
public boolean isExplicitRequest() {
return explicitRequest;
}
}