01: /*******************************************************************************
02: * Copyright (c) 2003, 2005 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;
11:
12: /**
13: * An interface that descriptor classes may implement in addition to their
14: * descriptor interface. This indicates that they may or may not originate from
15: * a plugin contribution. This is useful in various activity filtering
16: * scenarios.
17: *
18: * @since 3.0
19: */
20: public interface IPluginContribution {
21:
22: /**
23: * @return the local id of the contribution. Must not be <code>null</code>.
24: * This should correspond to the extension-specific identifier for
25: * a given contribution.
26: */
27: public String getLocalId();
28:
29: /**
30: * @return the id of the originating plugin. Can be <code>null</code> if
31: * this contribution did not originate from a plugin.
32: */
33: public String getPluginId();
34: }
|