KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > activities > ICategoryActivityBinding


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.activities;
13
14 /**
15  * An instance of this interface represents a binding between a category and an
16  * activity.
17  *
18  * <p>
19  * This interface is not intended to be extended or implemented by clients.
20  * </p>
21  *
22  * @since 3.0
23  * @see IActivity
24  * @see ICategory
25  */

26 public interface ICategoryActivityBinding extends Comparable JavaDoc {
27
28     /**
29      * Returns the identifier of the activity represented in this binding.
30      *
31      * @return the identifier of the activity represented in this binding.
32      * Guaranteed not to be <code>null</code>.
33      */

34     String JavaDoc getActivityId();
35
36     /**
37      * Returns the identifier of the category represented in this binding.
38      *
39      * @return the identifier of the category represented in this binding.
40      * Guaranteed not to be <code>null</code>.
41      */

42     String JavaDoc getCategoryId();
43 }
44
Popular Tags