| /******************************************************************************* |
| * Copyright (c) 2000, 2003 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.debug.ui.variables; |
| |
| public interface IVariableConstants { |
| /** |
| * Variable that expands to the absolute path on the system's hard drive |
| * to the workspace directory (value <code>workspace_loc</code>). |
| */ |
| public static final String VAR_WORKSPACE_LOC = "workspace_loc"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the absolute path on the system's hard drive |
| * to a project's directory (value <code>project_loc</code>). |
| */ |
| public static final String VAR_PROJECT_LOC = "project_loc"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the full path, relative to the workspace root, |
| * of a project (value <code>project_path</code>). |
| */ |
| public static final String VAR_PROJECT_PATH = "project_path"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the name of a project (value <code>project_name</code>). |
| */ |
| public static final String VAR_PROJECT_NAME = "project_name"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the absolute path on the system's hard drive |
| * to a resource's location (value <code>resource_loc</code>). |
| */ |
| public static final String VAR_RESOURCE_LOC = "resource_loc"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the full path, relative to the workspace root, |
| * of a resource (value <code>resource_path</code>). |
| */ |
| public static final String VAR_RESOURCE_PATH = "resource_path"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the name of a resource (value <code>resource_name</code>). |
| */ |
| public static final String VAR_RESOURCE_NAME = "resource_name"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the absolute path on the system's hard drive |
| * to a resource's containing directory (value <code>container_loc</code>). |
| */ |
| public static final String VAR_CONTAINER_LOC = "container_loc"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the full path, relative to the workspace root, |
| * of a resource's parent (value <code>container_path</code>). |
| */ |
| public static final String VAR_CONTAINER_PATH = "container_path"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the name of a resource's parent (value <code>container_name</code>). |
| */ |
| public static final String VAR_CONTAINER_NAME = "container_name"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the type of build (value <code>build_type</code>). See |
| * <code>BUILD_TYPE_*</code> constants for possible values. |
| */ |
| public static final String VAR_BUILD_TYPE = "build_type"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the current editor cursor column (value <code>editor_cur_col</code>). |
| */ |
| public static final String VAR_EDITOR_CUR_COL = "editor_cur_col"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the current editor cursor line (value <code>editor_cur_line</code>). |
| */ |
| public static final String VAR_EDITOR_CUR_LINE = "editor_cur_line"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the current editor selected text (value <code>editor_sel_text</code>). |
| */ |
| public static final String VAR_EDITOR_SEL_TEXT = "editor_sel_text"; //$NON-NLS-1$ |
| // ------- Refresh Variables ------- |
| /** |
| * Variable that expands to the workspace root object (value <code>workspace</code>). |
| */ |
| public static final String VAR_WORKSPACE = "workspace"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the project resource (value <code>project</code>). |
| */ |
| public static final String VAR_PROJECT = "project"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the container resource (value <code>container</code>). |
| */ |
| public static final String VAR_CONTAINER = "container"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to a resource (value <code>resource</code>). |
| */ |
| public static final String VAR_RESOURCE = "resource"; //$NON-NLS-1$ |
| /** |
| * Variable that expands to the working set object (value <code>working_set</code>). |
| */ |
| public static final String VAR_WORKING_SET = "working_set"; //$NON-NLS-1$ |
| /** |
| * Extension point to declare external tool variables. |
| * (value<code>toolVariables</code>). |
| */ |
| public static final String EXTENSION_POINT_TOOL_VARIABLES = "toolVariables"; //$NON-NLS-1$ |
| |
| } |