CSS Component
CSS Component Overview
WTP LogoWTP Home

Last modified March 29, 2005


[This document is a work in progress. It is an attempt to capture the key concepts of the WTP CSS Component. Note that the concepts presented here may differ from what is found in the currently released code. This document describes the architecture, or "end goal", of the component. Once this document is finalized, the intent is to bring the code and its specs into line with this document.]


The css ui component has the API needed to support css regions in editors.


StructuredTextViewerConfigurationCSS can be used by clients to access processors used to handle CSS regions. Processors include: autoedit, content assist, text hover.

CSS Core

The css core component has the API needed to support the css model.

Content type

ContentTypeIdForCSS contains the content type id for CSS. For more information, see: org.eclipse.wst.css.core.contenttype

Content Model

The CSS content model includes content models for CSS. For more information, see: org.eclipse.wst.css.core.document

StructuredDocument regions

CSS StructuredDocument regions include various regions commonly found in CSS documents. Structured document regions include: css declaration delimiter, css selector separator, css declaration delimiter. For more information, see org.eclipse.wst.css.core.model.parser

Partition Types

CSS partition types include various partition types found in CSS documents. Partition types include: css style. For more information, see: org.eclipse.wst.css.core.text