1 /*******************************************************************************
2 * Copyright (c) 2000, 2003 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.core;
15 * Markers used by the Java model.
17 * This interface declares constants only; it is not intended to be implemented
21 public interface IJavaModelMarker {
24 * Java model problem marker type (value <code>"org.eclipse.jdt.core.problem"</code>).
25 * This can be used to recognize those markers in the workspace that flag problems
26 * detected by the Java tooling during compilation.
28 public static final String JAVA_MODEL_PROBLEM_MARKER = JavaCore.PLUGIN_ID + ".problem"; //$NON-NLS-1$
32 * Java model transient problem marker type (value <code>"org.eclipse.jdt.core.transient_problem"</code>).
33 * This can be used to recognize those markers in the workspace that flag transient
34 * problems detected by the Java tooling (such as a problem
35 * detected by the outliner, or a problem detected during a code completion)
37 public static final String TRANSIENT_PROBLEM = JavaCore.PLUGIN_ID + ".transient_problem"; //$NON-NLS-1$
40 * Java model task marker type (value <code>"org.eclipse.jdt.core.task"</code>).
41 * This can be used to recognize task markers in the workspace that correspond to tasks
42 * specified in Java source comments and detected during compilation (for example, 'TO-DO: ...').
43 * Tasks are identified by a task tag, which can be customized through <code>PHPCore</code>
44 * option <code>"org.eclipse.jdt.core.compiler.taskTag"</code>.
47 public static final String TASK_MARKER = JavaCore.PLUGIN_ID + ".task"; //$NON-NLS-1$
51 * Id marker attribute (value <code>"arguments"</code>).
52 * Arguments are concatenated into one String, prefixed with an argument count (followed with colon
53 * separator) and separated with '#' characters. For example:
54 * { "foo", "bar" } is encoded as "2:foo#bar",
55 * { } is encoded as "0: "
58 public static final String ARGUMENTS = "arguments"; //$NON-NLS-1$
61 * Id marker attribute (value <code>"id"</code>).
63 public static final String ID = "id"; //$NON-NLS-1$
66 * Flags marker attribute (value <code>"flags"</code>).
67 * Reserved for future use.
69 public static final String FLAGS = "flags"; //$NON-NLS-1$
72 * Cycle detected marker attribute (value <code>"cycleDetected"</code>).
73 * Used only on buildpath problem markers.
74 * The value of this attribute is either "true" or "false".
76 public static final String CYCLE_DETECTED = "cycleDetected"; //$NON-NLS-1$
79 * Build path problem marker type (value <code>"org.eclipse.jdt.core.buildpath_problem"</code>).
80 * This can be used to recognize those markers in the workspace that flag problems
81 * detected by the Java tooling during classpath setting.
83 public static final String BUILDPATH_PROBLEM_MARKER = JavaCore.PLUGIN_ID + ".buildpath_problem"; //$NON-NLS-1$
86 * Classpath file format marker attribute (value <code>"classpathFileFormat"</code>).
87 * Used only on buildpath problem markers.
88 * The value of this attribute is either "true" or "false".
92 public static final String CLASSPATH_FILE_FORMAT = "classpathFileFormat"; //$NON-NLS-1$