Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/ISemanticHighlightingExtension.java')
-rw-r--r--bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/ISemanticHighlightingExtension.java39
1 files changed, 0 insertions, 39 deletions
diff --git a/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/ISemanticHighlightingExtension.java b/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/ISemanticHighlightingExtension.java
deleted file mode 100644
index fdaef10916..0000000000
--- a/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/ISemanticHighlightingExtension.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 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
- *******************************************************************************/
-package org.eclipse.wst.sse.ui;
-
-import org.eclipse.jface.text.Position;
-import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
-import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion;
-
-/**
- * Extends {@link org.eclipse.wst.sse.ui.ISemanticHighlighting} allowing clients to
- * define consumability with respect to indexed regions containing the structured
- * document region.
- *
- * @since 3.2
- */
-public interface ISemanticHighlightingExtension {
-
- /**
- * Returns an array of positions iff the semantic highlighting consumes any part of the structured document region
- *
- * <p>
- * NOTE: Implementors are not allowed to keep a reference on the either regions or on any object
- * retrieved from the regions.
- * </p>
- *
- * @param documentRegion the structured document region
- * @param indexedRegion the indexed region that contains the <code>documentRegion</code>
- * @return an array of positions to consume iff the semantic highlighting consumes any part of the structured document region, otherwise null
- */
- public Position[] consumes(IStructuredDocumentRegion documentRegion, IndexedRegion indexedRegion);
-} \ No newline at end of file

Back to the top