Contributors:
Igor Malinin - initial contribution
- $Id: PHPDocumentPartitioner.java,v 1.3 2005-05-15 23:24:41 axelcl Exp $
+ $Id: PHPDocumentPartitioner.java,v 1.4 2005-08-18 20:09:25 axelcl Exp $
**********************************************************************/
package net.sourceforge.phpeclipse.phpeditor.php;
public static final String PHP_SCRIPT_CODE = "__php_script_code";
+ public static final String[] LEGAL_TYPES = {
+ PHP_TEMPLATE_DATA,
+ PHP_SCRIPT_CODE
+ };
+
private IPartitionTokenScanner scriptScanner;
public PHPDocumentPartitioner(IPartitionTokenScanner scanner, IPartitionTokenScanner scriptScanner) {
return super.getContentType(parent, view);
}
+
+ public String[] getLegalContentTypes() {
+ return LEGAL_TYPES;
+ }
}
\ No newline at end of file