KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > help > ui > internal > views > ContextHelpProviderInput


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.help.ui.internal.views;
12
13 import org.eclipse.help.IContext;
14 import org.eclipse.help.IContextProvider;
15 import org.eclipse.swt.widgets.Control;
16 import org.eclipse.ui.IWorkbenchPart;
17
18 public class ContextHelpProviderInput {
19     private IContext context;
20     private IContextProvider provider;
21     private Control control;
22     private IWorkbenchPart part;
23     public ContextHelpProviderInput(IContextProvider provider, IContext context, Control control, IWorkbenchPart part) {
24         this.provider = provider;
25         this.context = context;
26         this.control =control;
27         this.part = part;
28     }
29     
30     public IContextProvider getProvider() {
31         return provider;
32     }
33     public IContext getContext() {
34         return context;
35     }
36     public Control getControl() {
37         return control;
38     }
39     public IWorkbenchPart getPart() {
40         return part;
41     }
42 }
43
Popular Tags