KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > propertiesfileeditor > IPropertiesFilePartitions


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.ui.propertiesfileeditor;
12
13 /**
14  * Properties file partitioning definition.
15  * <p>
16  * A property key is represented by the {@link org.eclipse.jface.text.IDocument#DEFAULT_CONTENT_TYPE default partition}.
17  * </p>
18  *
19  * @since 3.1
20  */

21 public interface IPropertiesFilePartitions {
22
23     /**
24      * The name of the properties file partitioning.
25      * Value: {@value}
26      */

27     String JavaDoc PROPERTIES_FILE_PARTITIONING= "___pf_partitioning"; //$NON-NLS-1$
28

29     /**
30      * The name of a comment partition.
31      * Value: {@value}
32      */

33     String JavaDoc COMMENT= "__pf_comment"; //$NON-NLS-1$
34

35     /**
36      * The name of a property value partition.
37      * <p>
38      * Note: The value partition may contain assignment characters at their beginning
39      * </p>
40      * Value: {@value}
41      */

42     String JavaDoc PROPERTY_VALUE= "__pf_roperty_value"; //$NON-NLS-1$
43

44     /**
45      * Array with properties file partitions.
46      * Value: {@value}
47      */

48     String JavaDoc[] PARTITIONS= new String JavaDoc[] { COMMENT, PROPERTY_VALUE };
49
50 }
51
Popular Tags