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;
11:
12: /**
13: * Describes the public attributes for a project and the acceptable values
14: * each may have.
15: * <p>
16: * A popup menu extension may use these constants to describe its object target.
17: * Each identifies an attribute name or possible value.
18: * <p>
19: * Clients are not expected to implement this interface.
20: * </p>
21: *
22: * @see org.eclipse.ui.IActionFilter
23: */
24: public interface IProjectActionFilter extends IResourceActionFilter {
25:
26: /**
27: * An attribute indicating the project nature (value <code>"nature"</code>).
28: * The attribute value in xml is unconstrained.
29: */
30: public static final String NATURE = "nature"; //$NON-NLS-1$
31:
32: /**
33: * An attribute indicating whether the project is open (value <code>"open"</code>).
34: * The attribute value in xml must be one of <code>"true" or "false"</code>.
35: */
36: public static final String OPEN = "open"; //$NON-NLS-1$
37:
38: }
|