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