1 11 package org.eclipse.jface.text; 12 13 30 public interface IDocumentExtension3 { 31 32 35 final static String DEFAULT_PARTITIONING= "__dftl_partitioning"; 37 38 44 String [] getPartitionings(); 45 46 55 String [] getLegalContentTypes(String partitioning) throws BadPartitioningException; 56 57 58 83 String getContentType(String partitioning, int offset, boolean preferOpenPartitions) throws BadLocationException, BadPartitioningException; 84 85 109 ITypedRegion getPartition(String partitioning, int offset, boolean preferOpenPartitions) throws BadLocationException, BadPartitioningException; 110 111 134 ITypedRegion[] computePartitioning(String partitioning, int offset, int length, boolean includeZeroLengthPartitions) throws BadLocationException, BadPartitioningException; 135 136 146 void setDocumentPartitioner(String partitioning, IDocumentPartitioner partitioner); 147 148 155 IDocumentPartitioner getDocumentPartitioner(String partitioning); 156 } 157 | Popular Tags |