01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 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.activities;
11:
12: /**
13: * An instance of this interface represents a binding between a category and an
14: * activity.
15: *
16: * <p>
17: * This interface is not intended to be extended or implemented by clients.
18: * </p>
19: *
20: * @since 3.0
21: * @see IActivity
22: * @see ICategory
23: */
24: public interface ICategoryActivityBinding extends Comparable {
25:
26: /**
27: * Returns the identifier of the activity represented in this binding.
28: *
29: * @return the identifier of the activity represented in this binding.
30: * Guaranteed not to be <code>null</code>.
31: */
32: String getActivityId();
33:
34: /**
35: * Returns the identifier of the category represented in this binding.
36: *
37: * @return the identifier of the category represented in this binding.
38: * Guaranteed not to be <code>null</code>.
39: */
40: String getCategoryId();
41: }
|