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;
14 * Markers used by the Java model.
16 * This interface declares constants only; it is not intended to be implemented
20 public interface IJavaModelMarker {
23 * Java model problem marker type (value
24 * <code>"net.sourceforge.phpdt.core.problem"</code>). This can be used
25 * to recognize those markers in the workspace that flag problems detected
26 * by the Java tooling during compilation.
28 public static final String JAVA_MODEL_PROBLEM_MARKER = JavaCore.PLUGIN_ID
29 + ".problem"; //$NON-NLS-1$
32 * Java model transient problem marker type (value
33 * <code>"net.sourceforge.phpdt.core.transient_problem"</code>). This can
34 * be used to recognize those markers in the workspace that flag transient
35 * problems detected by the Java tooling (such as a problem detected by the
36 * outliner, or a problem detected during a code completion)
38 public static final String TRANSIENT_PROBLEM = JavaCore.PLUGIN_ID
39 + ".transient_problem"; //$NON-NLS-1$
42 * Java model task marker type (value
43 * <code>"net.sourceforge.phpdt.core.task"</code>). This can be used to
44 * recognize task markers in the workspace that correspond to tasks
45 * specified in Java source comments and detected during compilation (for
46 * example, 'TO-DO: ...'). Tasks are identified by a task tag, which can be
47 * customized through <code>PHPCore</code> option
48 * <code>"net.sourceforge.phpdt.core.compiler.taskTag"</code>.
52 public static final String TASK_MARKER = JavaCore.PLUGIN_ID + ".task"; //$NON-NLS-1$
55 * Id marker attribute (value <code>"arguments"</code>). Arguments are
56 * concatenated into one String, prefixed with an argument count (followed
57 * with colon separator) and separated with '#' characters. For example: {
58 * "foo", "bar" } is encoded as "2:foo#bar", { } is encoded as "0: "
62 public static final String ARGUMENTS = "arguments"; //$NON-NLS-1$
65 * Id marker attribute (value <code>"id"</code>).
67 public static final String ID = "id"; //$NON-NLS-1$
70 * Flags marker attribute (value <code>"flags"</code>). Reserved for
73 public static final String FLAGS = "flags"; //$NON-NLS-1$
76 * Cycle detected marker attribute (value <code>"cycleDetected"</code>).
77 * Used only on buildpath problem markers. The value of this attribute is
78 * either "true" or "false".
80 public static final String CYCLE_DETECTED = "cycleDetected"; //$NON-NLS-1$
83 * Build path problem marker type (value
84 * <code>"net.sourceforge.phpdt.core.buildpath_problem"</code>). This can
85 * be used to recognize those markers in the workspace that flag problems
86 * detected by the Java tooling during classpath setting.
88 public static final String BUILDPATH_PROBLEM_MARKER = JavaCore.PLUGIN_ID
89 + ".buildpath_problem"; //$NON-NLS-1$
92 * Classpath file format marker attribute (value
93 * <code>"classpathFileFormat"</code>). Used only on buildpath problem
94 * markers. The value of this attribute is either "true" or "false".
98 public static final String CLASSPATH_FILE_FORMAT = "classpathFileFormat"; //$NON-NLS-1$