You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2015/03/27 16:27:30 UTC

svn commit: r1669604 [14/14] - in /directory/studio/trunk/plugins/templateeditor: ./ resources/ resources/icons/ resources/templates/ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/directory/ src/mai...

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_id_attribute.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_id_attribute.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_id_attribute.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_id_attribute.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_objectClasses_element.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_objectClasses_element.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_objectClasses_element.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_objectClasses_element.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<form>
+		<section>
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_section_element.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_section_element.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_section_element.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_section_element.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_structural_element.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_structural_element.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_structural_element.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_structural_element.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+	</objectClasses>
+	<form>
+		<section>
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_title_attribute.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_title_attribute.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_title_attribute.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_no_title_attribute.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_minimal.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_minimal.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_minimal.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_minimal.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+			<password attributeType="1.2.3.4" />
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_not_hidden.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_not_hidden.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_not_hidden.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_not_hidden.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+			<password attributeType="1.2.3.4" hidden="false" />
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_not_show_edit_button.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_not_show_edit_button.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_not_show_edit_button.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_password_not_show_edit_button.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+			<password attributeType="1.2.3.4" showEditButton="false" />
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_radiobuttons_minimal.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_radiobuttons_minimal.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_radiobuttons_minimal.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_radiobuttons_minimal.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+			<radioButtons attributeType="1.2.3.4">
+				<buttons>
+					<button>
+						<label>label</label>
+						<value>value</value>
+					</button>
+				</buttons>
+			</radioButtons>
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_radiobuttons_multiple_buttons.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_radiobuttons_multiple_buttons.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_radiobuttons_multiple_buttons.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_radiobuttons_multiple_buttons.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+			<radioButtons attributeType="1.2.3.4">
+				<buttons>
+					<button>
+						<label>label 1</label>
+						<value>value 1</value>
+					</button>
+					<button>
+						<label>label 2</label>
+						<value>value 2</value>
+					</button>
+					<button>
+						<label>label 3</label>
+						<value>value 3</value>
+					</button>
+				</buttons>
+			</radioButtons>
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_columns_attribute.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_columns_attribute.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_columns_attribute.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_columns_attribute.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section numberOfColumns="2">
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_description_attribute.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_description_attribute.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_description_attribute.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_description_attribute.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section description="Section description">
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_title_attribute.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_title_attribute.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_title_attribute.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_title_attribute.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section title="Section title">
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_wrong_columns_attribute.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_wrong_columns_attribute.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_wrong_columns_attribute.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_section_with_wrong_columns_attribute.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section numberOfColumns="two">
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_spinner_minimal.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_spinner_minimal.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_spinner_minimal.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_spinner_minimal.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+			<spinner attributeType="1.2.3.4" />
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_spinner_with_all_values.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_spinner_with_all_values.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_spinner_with_all_values.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_spinner_with_all_values.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+			<spinner attributeType="1.2.3.4" minimum="10" maximum="10000" increment="10" pageIncrement="100" digits="2"/>
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_table.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_table.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_table.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_table.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+			<table attributeType="1.2.3.4" />
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_textfield_minimal.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_textfield_minimal.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_textfield_minimal.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_textfield_minimal.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+			<textfield attributeType="1.2.3.4" />
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_textfield_with_all_values.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_textfield_with_all_values.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_textfield_with_all_values.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_textfield_with_all_values.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<template title="Template Title" id="id">
+	<objectClasses>
+		<structural>1.2.3.4.5</structural>
+	</objectClasses>
+	<form>
+		<section>
+			<textfield attributeType="1.2.3.4" numberOfRows="10"
+				charactersLimit="256" />
+		</section>
+	</form>
+</template>

Added: directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_wrong_root_element.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_wrong_root_element.xml?rev=1669604&view=auto
==============================================================================
--- directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_wrong_root_element.xml (added)
+++ directory/studio/trunk/plugins/templateeditor/src/test/resources/org/apache/directory/studio/templateeditor/model/parser/template_wrong_root_element.xml Fri Mar 27 15:27:27 2015
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<wrong>
+</wrong>