Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 140557 | Differences between
and this patch

Collapse All | Expand All

(-)plugin.properties (-1 / +1 lines)
Lines 9-14 Link Here
9
#     IBM Corporation - initial API and implementation
9
#     IBM Corporation - initial API and implementation
10
###############################################################################
10
###############################################################################
11
Logic_example_graphical_editor_name = Logic Graphical Editor
11
Logic_example_graphical_editor_name = Logic Graphical Editor
12
GEF_example_wizard_category_name = GEF (Graphical Editing Framework)
12
GEF_example_wizard_category_name = GEF (Graphical Editing Framework) Diagrams
13
Logic_example_wizard_name = Logic Diagram
13
Logic_example_wizard_name = Logic Diagram
14
Logic_example_wizard_description=A wizard that creates a sample Logic file
14
Logic_example_wizard_description=A wizard that creates a sample Logic file
(-)buildZip.xml (+56 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Copyright (c) 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
<project default="zip.source" basedir=".">
11
12
	<target name="init">
13
		<property name="project.folder" value="${basedir}"/>
14
		<property name="temp.folder" value="${basedir}/temp.folder"/>
15
	</target>
16
17
	<target name="zip.source" depends="init" description="Zip all source code.">
18
19
		<!-- Copy & map Enum.java -->
20
		<copy toDir="${temp.folder}">
21
			<fileset dir="${project.folder}"
22
				includes="**/*.java,**/*.properties,.classpath,plugin.xml,**/MANIFEST.MF"/>
23
						
24
			<!-- Suppress tokens -->
25
			<filterset
26
	      		begintoken="/*"
27
	      		endtoken="*/">
28
		    		<filter
29
		      			token="@BEGIN@"
30
			      		value=""/>
31
		    		<filter
32
		      			token="@END@"
33
			      		value=""/>
34
			</filterset>
35
		</copy>
36
37
		<!-- Copy binaries -->
38
		<copy toDir="${temp.folder}">
39
			<fileset dir="${project.folder}"
40
				includes="**/*.gif"/>
41
		</copy>
42
			
43
		<!-- Zip file in temporary folder -->		
44
		<zip
45
			destfile="${project.folder}\logic.zip"
46
			basedir="${temp.folder}"
47
			filesonly="false"
48
			whenempty="skip"
49
		/>
50
51
		<!-- Delete temporary folder -->		
52
		<delete dir="${temp.folder}"/>
53
		
54
	</target>
55
	
56
</project>
(-)plugin.xml (-1 / +4 lines)
Lines 13-19 Link Here
13
      </editor>
13
      </editor>
14
   </extension>
14
   </extension>
15
   <extension point="org.eclipse.ui.newWizards">
15
   <extension point="org.eclipse.ui.newWizards">
16
      <category name="Examples"
16
      <category name="GEF (Graphical Editing Framework) Diagrams"
17
                parentCategory="org.eclipse.ui.Examples"
17
                parentCategory="org.eclipse.ui.Examples"
18
                id="org.eclipse.gef.examples"/>
18
                id="org.eclipse.gef.examples"/>
19
      <wizard name="Shapes Diagram"
19
      <wizard name="Shapes Diagram"
Lines 22-27 Link Here
22
              class="org.eclipse.gef.examples.shapes.ShapesCreationWizard"
22
              class="org.eclipse.gef.examples.shapes.ShapesCreationWizard"
23
              id="org.eclipse.gef.examples.shapes.ShapesCreationWizard">
23
              id="org.eclipse.gef.examples.shapes.ShapesCreationWizard">
24
         <selection class="org.eclipse.core.resources.IResource"/>
24
         <selection class="org.eclipse.core.resources.IResource"/>
25
         <description>
26
         A wizard that creates an editor for making simple shapes.
27
         </description>
25
      </wizard>
28
      </wizard>
26
   </extension>
29
   </extension>
27
</plugin>
30
</plugin>
(-)buildZip.xml (+56 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Copyright (c) 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
<project default="zip.source" basedir=".">
11
12
	<target name="init">
13
		<property name="project.folder" value="${basedir}"/>
14
		<property name="temp.folder" value="${basedir}/temp.folder"/>
15
	</target>
16
17
	<target name="zip.source" depends="init" description="Zip all source code.">
18
19
		<!-- Copy & map Enum.java -->
20
		<copy toDir="${temp.folder}">
21
			<fileset dir="${project.folder}"
22
				includes="**/*.java,**/*.properties,.classpath,plugin.xml,**/MANIFEST.MF"/>
23
						
24
			<!-- Suppress tokens -->
25
			<filterset
26
	      		begintoken="/*"
27
	      		endtoken="*/">
28
		    		<filter
29
		      			token="@BEGIN@"
30
			      		value=""/>
31
		    		<filter
32
		      			token="@END@"
33
			      		value=""/>
34
			</filterset>
35
		</copy>
36
37
		<!-- Copy binaries -->
38
		<copy toDir="${temp.folder}">
39
			<fileset dir="${project.folder}"
40
				includes="**/*.gif"/>
41
		</copy>
42
			
43
		<!-- Zip file in temporary folder -->		
44
		<zip
45
			destfile="${project.folder}\shapes.zip"
46
			basedir="${temp.folder}"
47
			filesonly="false"
48
			whenempty="skip"
49
		/>
50
51
		<!-- Delete temporary folder -->		
52
		<delete dir="${temp.folder}"/>
53
		
54
	</target>
55
	
56
</project>
(-)plugin.xml (-1 / +4 lines)
Lines 17-23 Link Here
17
   <extension
17
   <extension
18
         point="org.eclipse.ui.newWizards">
18
         point="org.eclipse.ui.newWizards">
19
      <category
19
      <category
20
            name="GEF (Graphical Editing Framework)"
20
            name="GEF (Graphical Editing Framework) Diagrams"
21
            parentCategory="org.eclipse.ui.Examples"
21
            parentCategory="org.eclipse.ui.Examples"
22
            id="org.eclipse.gef.examples">
22
            id="org.eclipse.gef.examples">
23
      </category>
23
      </category>
Lines 30-35 Link Here
30
         <selection
30
         <selection
31
               class="org.eclipse.core.resources.IResource">
31
               class="org.eclipse.core.resources.IResource">
32
         </selection>
32
         </selection>
33
         <description>
34
         A wizard that creates an editor for making flow diagrams (includes a sample flow diagram).
35
         </description>
33
      </wizard>
36
      </wizard>
34
   </extension>
37
   </extension>
35
38
(-)buildZip.xml (+56 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Copyright (c) 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
<project default="zip.source" basedir=".">
11
12
	<target name="init">
13
		<property name="project.folder" value="${basedir}"/>
14
		<property name="temp.folder" value="${basedir}/temp.folder"/>
15
	</target>
16
17
	<target name="zip.source" depends="init" description="Zip all source code.">
18
19
		<!-- Copy & map Enum.java -->
20
		<copy toDir="${temp.folder}">
21
			<fileset dir="${project.folder}"
22
				includes="**/*.java,**/*.properties,.classpath,plugin.xml,**/MANIFEST.MF"/>
23
						
24
			<!-- Suppress tokens -->
25
			<filterset
26
	      		begintoken="/*"
27
	      		endtoken="*/">
28
		    		<filter
29
		      			token="@BEGIN@"
30
			      		value=""/>
31
		    		<filter
32
		      			token="@END@"
33
			      		value=""/>
34
			</filterset>
35
		</copy>
36
37
		<!-- Copy binaries -->
38
		<copy toDir="${temp.folder}">
39
			<fileset dir="${project.folder}"
40
				includes="**/*.gif"/>
41
		</copy>
42
			
43
		<!-- Zip file in temporary folder -->		
44
		<zip
45
			destfile="${project.folder}\flow.zip"
46
			basedir="${temp.folder}"
47
			filesonly="false"
48
			whenempty="skip"
49
		/>
50
51
		<!-- Delete temporary folder -->		
52
		<delete dir="${temp.folder}"/>
53
		
54
	</target>
55
	
56
</project>
(-)plugin.xml (-1 / +1 lines)
Lines 17-23 Link Here
17
   <extension
17
   <extension
18
         point="org.eclipse.ui.newWizards">
18
         point="org.eclipse.ui.newWizards">
19
      <category
19
      <category
20
            name="GEF Examples"
20
            name="GEF (Graphical Editing Framework) Diagrams"
21
            parentCategory="org.eclipse.ui.Examples"
21
            parentCategory="org.eclipse.ui.Examples"
22
            id="org.eclipse.gef.examples">
22
            id="org.eclipse.gef.examples">
23
      </category>
23
      </category>
(-)buildZip.xml (+56 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Copyright (c) 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
<project default="zip.source" basedir=".">
11
12
	<target name="init">
13
		<property name="project.folder" value="${basedir}"/>
14
		<property name="temp.folder" value="${basedir}/temp.folder"/>
15
	</target>
16
17
	<target name="zip.source" depends="init" description="Zip all source code.">
18
19
		<!-- Copy & map Enum.java -->
20
		<copy toDir="${temp.folder}">
21
			<fileset dir="${project.folder}"
22
				includes="**/*.java,**/*.properties,.classpath,plugin.xml,**/MANIFEST.MF"/>
23
						
24
			<!-- Suppress tokens -->
25
			<filterset
26
	      		begintoken="/*"
27
	      		endtoken="*/">
28
		    		<filter
29
		      			token="@BEGIN@"
30
			      		value=""/>
31
		    		<filter
32
		      			token="@END@"
33
			      		value=""/>
34
			</filterset>
35
		</copy>
36
37
		<!-- Copy binaries -->
38
		<copy toDir="${temp.folder}">
39
			<fileset dir="${project.folder}"
40
				includes="**/*.gif"/>
41
		</copy>
42
			
43
		<!-- Zip file in temporary folder -->		
44
		<zip
45
			destfile="${project.folder}\ediagram.zip"
46
			basedir="${temp.folder}"
47
			filesonly="false"
48
			whenempty="skip"
49
		/>
50
51
		<!-- Delete temporary folder -->		
52
		<delete dir="${temp.folder}"/>
53
		
54
	</target>
55
	
56
</project>
(-)plugin.xml (-2 / +2 lines)
Lines 16-22 Link Here
16
   </extension>
16
   </extension>
17
   
17
   
18
   <extension point="org.eclipse.ui.newWizards">
18
   <extension point="org.eclipse.ui.newWizards">
19
      <category name="Examples" id="org.eclipse.ui.Examples/org.eclipse.gef.examples" />
19
      <category name="GEF (Graphical Editing Framework) Diagrams" id="org.eclipse.ui.Examples/org.eclipse.gef.examples" />
20
      <wizard
20
      <wizard
21
            name="GEF WYSIWYG Document Example"
21
            name="GEF WYSIWYG Document Example"
22
            icon="text.gif"
22
            icon="text.gif"
Lines 125-128 Link Here
125
			schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
125
			schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
126
		</key>
126
		</key>
127
	</extension>
127
	</extension>
128
</plugin>
128
</plugin>
(-)buildZip.xml (+56 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Copyright (c) 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
<project default="zip.source" basedir=".">
11
12
	<target name="init">
13
		<property name="project.folder" value="${basedir}"/>
14
		<property name="temp.folder" value="${basedir}/temp.folder"/>
15
	</target>
16
17
	<target name="zip.source" depends="init" description="Zip all source code.">
18
19
		<!-- Copy & map Enum.java -->
20
		<copy toDir="${temp.folder}">
21
			<fileset dir="${project.folder}"
22
				includes="**/*.java,**/*.properties,.classpath,plugin.xml,**/MANIFEST.MF"/>
23
						
24
			<!-- Suppress tokens -->
25
			<filterset
26
	      		begintoken="/*"
27
	      		endtoken="*/">
28
		    		<filter
29
		      			token="@BEGIN@"
30
			      		value=""/>
31
		    		<filter
32
		      			token="@END@"
33
			      		value=""/>
34
			</filterset>
35
		</copy>
36
37
		<!-- Copy binaries -->
38
		<copy toDir="${temp.folder}">
39
			<fileset dir="${project.folder}"
40
				includes="**/*.gif"/>
41
		</copy>
42
			
43
		<!-- Zip file in temporary folder -->		
44
		<zip
45
			destfile="${project.folder}\text.zip"
46
			basedir="${temp.folder}"
47
			filesonly="false"
48
			whenempty="skip"
49
		/>
50
51
		<!-- Delete temporary folder -->		
52
		<delete dir="${temp.folder}"/>
53
		
54
	</target>
55
	
56
</project>

Return to bug 140557