KickJava   Java API By Example, From Geeks To Geeks.

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


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 package org.eclipse.ui;
12
13
14 /**
15  * Describes the public attributes for a project and the acceptable values
16  * each may have.
17  * <p>
18  * A popup menu extension may use these constants to describe its object target.
19  * Each identifies an attribute name or possible value.
20  * <p>
21  * Clients are not expected to implement this interface.
22  * </p>
23  *
24  * @see org.eclipse.ui.IActionFilter
25  */

26 public interface IProjectActionFilter extends IResourceActionFilter {
27
28     /**
29      * An attribute indicating the project nature (value <code>"nature"</code>).
30      * The attribute value in xml is unconstrained.
31      */

32     public static final String JavaDoc NATURE = "nature"; //$NON-NLS-1$
33

34     /**
35      * An attribute indicating whether the project is open (value <code>"open"</code>).
36      * The attribute value in xml must be one of <code>"true" or "false"</code>.
37      */

38     public static final String JavaDoc OPEN = "open"; //$NON-NLS-1$
39

40 }
41
Popular Tags