2 * Copyright (c) 2004 Christopher Lenz 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 * Christopher Lenz - initial API and implementation
11 * $Id: WebCore.java,v 1.1 2004-09-02 18:05:22 jsurfer Exp $
14 package net.sourceforge.phpeclipse.core;
16 import org.eclipse.core.runtime.Plugin;
18 //import net.sourceforge.phpeclipse.core.parser.ISourceParser;
21 * The main plugin class to be used in the desktop.
23 public class WebCore extends Plugin {
25 // Instance Variables ------------------------------------------------------
27 /** The shared instance. */
28 private static WebCore plugin;
30 // Constructors ------------------------------------------------------------
39 // Public Methods ----------------------------------------------------------
42 * Returns the shared instance.
44 public static WebCore getDefault() {
49 * Creates and returns a parser that can handle resources of the specified
52 * @param mimeType the MIME type of the resource for which a parser should
54 * @return the instantiated parser, or <tt>null</tt> if no parser for that
55 * MIME type is registered
57 // public ISourceParser createParser(String mimeType) {