public class StructuredTextSegmentListener extends Object implements SegmentListener
Note: This class only works if the org.eclipse.equinox.bidi
bundle is on the classpath!
| Constructor and Description |
|---|
StructuredTextSegmentListener(String textType)
Creates a new structured text segment listener.
|
StructuredTextSegmentListener(StructuredTextTypeHandler textTypeHandler)
Creates a new structured text segment listener.
|
public StructuredTextSegmentListener(String textType)
textType - the structured text type. Possible values are the structured
text type ids supported by
StructuredTextTypeHandlerFactory.getHandler(String).IllegalArgumentException - if textType is not a known type identifierpublic StructuredTextSegmentListener(StructuredTextTypeHandler textTypeHandler)
textTypeHandler - the structured text type handlerIllegalArgumentException - if the handler is nullpublic void getSegments(SegmentEvent event)
SegmentListenerThe following event fields are used:
getSegments in interface SegmentListenerevent - the given eventSegmentEvent
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.