blob: ac34d6c93dedaaedd77acadaa6ac8aa947b9fa68 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*******************************************************************************/
package org.eclipse.dltk.core;
/**
* Markers used by the DLTK model.
* <p>
* This interface declares constants only.
* </p>
*
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IModelMarker {
/**
* Script runtime problem marker type (value
* <code>"org.eclipse.dltk.core.runtime_problem"</code>). This can be used to
* recognize those markers in the workspace that flag problems detected by
* the script tooling during compilation.
*/
String SCRIPT_RUNTIME_PROBLEM_MARKER = DLTKCore.PLUGIN_ID + ".runtime_problem"; //$NON-NLS-1$
String SCRIPT_MODEL_PROBLEM_MARKER = DLTKCore.PLUGIN_ID + ".problem"; //$NON-NLS-1$
String TASK_MARKER = DLTKCore.PLUGIN_ID + ".task"; //$NON-NLS-1$
/**
* Build path problem marker type (value
* <code>"org.eclipse.dltk.core.buildpath_problem"</code>). This can be
* used to recognize those markers in the workspace that flag problems
* detected by the Script tooling during buildpath setting.
*/
public static final String BUILDPATH_PROBLEM_MARKER = DLTKCore.PLUGIN_ID
+ ".buildpath_problem"; //$NON-NLS-1$
/**
* Arguments marker attribute (value <code>"arguments"</code>). Arguments
* are concatenated into one String, prefixed with an argument count
* (followed with colon separator) and separated with '#' characters. For
* example: { "foo", "bar" } is encoded as "2:foo#bar", { } is encoded as
* "0: "
*
*
*/
public static final String ARGUMENTS = "arguments"; //$NON-NLS-1$
/**
* Buildpath file format marker attribute (value
* <code>"buildpathFileFormat"</code>). Used only on buildpath problem
* markers. The value of this attribute is either "true" or "false".
*
*
*/
public static final String BUILDPATH_FILE_FORMAT = "buildpathFileFormat"; //$NON-NLS-1$
/**
* Cycle detected marker attribute (value <code>"cycleDetected"</code>).
* Used only on buildpath problem markers. The value of this attribute is
* either "true" or "false".
*/
public static final String CYCLE_DETECTED = "cycleDetected"; //$NON-NLS-1$
/**
* Id marker attribute (value <code>"id"</code>).
*/
public static final String ID = "id"; //$NON-NLS-1$
}