01: /*******************************************************************************
02: * Copyright (c) 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: ******************************************************************************/package org.eclipse.ui.services;
11:
12: /**
13: * Different levels of service locators supported by the workbench.
14: *
15: * @since 3.3
16: */
17: public interface IServiceScopes {
18: /**
19: * The global service locator scope.
20: */
21: public static final String WORKBENCH_SCOPE = "org.eclipse.ui.services.IWorkbench"; //$NON-NLS-1$
22:
23: /**
24: * A workbench window service locator scope.
25: */
26: public static final String WINDOW_SCOPE = "org.eclipse.ui.IWorkbenchWindow"; //$NON-NLS-1$
27:
28: /**
29: * A part site service locator scope. Found in editors and views.
30: */
31: public static final String PARTSITE_SCOPE = "org.eclipse.ui.part.IWorkbenchPartSite"; //$NON-NLS-1$
32:
33: /**
34: * A page site service locator scope. Found in pages in a PageBookView.
35: */
36: public static final String PAGESITE_SCOPE = "org.eclipse.ui.part.PageSite"; //$NON-NLS-1$
37:
38: /**
39: * An editor site within a MultiPageEditorPart.
40: */
41: public static final String MPESITE_SCOPE = "org.eclipse.ui.part.MultiPageEditorSite"; //$NON-NLS-1$
42: }
|