blob: 62ac66bbc9407c0d3ebf238fdc88ac69f9fb8ca2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 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
*
* Contributors:
* IBM Corporation - Initial API and implementation
* Jens Lukowski/Innoopract - initial renaming/restructuring
*******************************************************************************/
package org.eclipse.wst.xsd.ui.internal.editor;
import java.util.Map;
import org.eclipse.jface.text.source.ISourceViewer;
import org.eclipse.wst.xml.ui.StructuredTextViewerConfigurationXML;
/**
* Configuration for editing XSD content type
*/
public class StructuredTextViewerConfigurationXSD extends StructuredTextViewerConfigurationXML {
protected Map getHyperlinkDetectorTargets(ISourceViewer sourceViewer) {
Map targets = super.getHyperlinkDetectorTargets(sourceViewer);
targets.put("org.eclipse.wst.xsd.core.xsdsource", null); //$NON-NLS-1$
return targets;
}
}