KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > services > IServiceScopes


1 /*******************************************************************************
2  * Copyright (c) 2007 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
12 package org.eclipse.ui.services;
13
14
15 /**
16  * Different levels of service locators supported by the workbench.
17  *
18  * @since 3.3
19  */

20 public interface IServiceScopes {
21     /**
22      * The global service locator scope.
23      */

24     public static final String JavaDoc WORKBENCH_SCOPE = "org.eclipse.ui.services.IWorkbench"; //$NON-NLS-1$
25

26     /**
27      * A workbench window service locator scope.
28      */

29     public static final String JavaDoc WINDOW_SCOPE = "org.eclipse.ui.IWorkbenchWindow"; //$NON-NLS-1$
30

31     /**
32      * A part site service locator scope. Found in editors and views.
33      */

34     public static final String JavaDoc PARTSITE_SCOPE = "org.eclipse.ui.part.IWorkbenchPartSite"; //$NON-NLS-1$
35

36     /**
37      * A page site service locator scope. Found in pages in a PageBookView.
38      */

39     public static final String JavaDoc PAGESITE_SCOPE = "org.eclipse.ui.part.PageSite"; //$NON-NLS-1$
40

41     /**
42      * An editor site within a MultiPageEditorPart.
43      */

44     public static final String JavaDoc MPESITE_SCOPE = "org.eclipse.ui.part.MultiPageEditorSite"; //$NON-NLS-1$
45
}
46
Popular Tags