KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > IPluginContribution


1 /*******************************************************************************
2  * Copyright (c) 2003, 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.ui;
12
13 /**
14  * An interface that descriptor classes may implement in addition to their
15  * descriptor interface. This indicates that they may or may not originate from
16  * a plugin contribution. This is useful in various activity filtering
17  * scenarios.
18  *
19  * @since 3.0
20  */

21 public interface IPluginContribution {
22
23     /**
24      * @return the local id of the contribution. Must not be <code>null</code>.
25      * This should correspond to the extension-specific identifier for
26      * a given contribution.
27      */

28     public String JavaDoc getLocalId();
29
30     /**
31      * @return the id of the originating plugin. Can be <code>null</code> if
32      * this contribution did not originate from a plugin.
33      */

34     public String JavaDoc getPluginId();
35 }
36
Popular Tags