Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Brown2001-05-31 21:35:36 +0000
committerJeff Brown2001-05-31 21:35:36 +0000
commite6ffe670d845e083fd5cffad17375dff4a5f0f4d (patch)
tree04d6e14bd0d714093827951a9405bff12be61c87
parent9887ca6c366a3de06e65a105dac71d39c6290878 (diff)
downloadeclipse.platform.swt-e6ffe670d845e083fd5cffad17375dff4a5f0f4d.tar.gz
eclipse.platform.swt-e6ffe670d845e083fd5cffad17375dff4a5f0f4d.tar.xz
eclipse.platform.swt-e6ffe670d845e083fd5cffad17375dff4a5f0f4d.zip
example plugins
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/.classpath6
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/plugin.xml31
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/.classpath6
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/plugin.properties9
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/plugin.xml8
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/.classpath6
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/plugin.xml34
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/.classpath6
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/plugin.xml69
9 files changed, 80 insertions, 95 deletions
diff --git a/examples/org.eclipse.swt.examples.controls/.classpath b/examples/org.eclipse.swt.examples.controls/.classpath
index 2057dc6610..507599f39a 100755
--- a/examples/org.eclipse.swt.examples.controls/.classpath
+++ b/examples/org.eclipse.swt.examples.controls/.classpath
@@ -4,10 +4,10 @@
<classpathentry kind="src" path="/org.eclipse.swt"/>
<classpathentry kind="var" path="JRE_LIB"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.resources/resources.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.resources/resourcessrc.zip"/>
+ path="WORKSPACE/org.eclipse.core.resources/resources.jar" sourcepath="WORKSPACE/org.eclipse.core.resources/resourcessrc.zip"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.runtime/runtime.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.runtime/runtimesrc.zip"/>
+ path="WORKSPACE/org.eclipse.core.runtime/runtime.jar" sourcepath="WORKSPACE/org.eclipse.core.runtime/runtimesrc.zip"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.ui/workbench.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.ui/workbenchsrc.zip"/>
+ path="WORKSPACE/org.eclipse.ui/workbench.jar" sourcepath="WORKSPACE/org.eclipse.ui/workbenchsrc.zip"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/examples/org.eclipse.swt.examples.controls/plugin.xml b/examples/org.eclipse.swt.examples.controls/plugin.xml
index 79a4749e1d..787a786b27 100755
--- a/examples/org.eclipse.swt.examples.controls/plugin.xml
+++ b/examples/org.eclipse.swt.examples.controls/plugin.xml
@@ -3,12 +3,10 @@
<plugin
id="org.eclipse.swt.examples.controls"
name="%plugin.SWTControlsExample.name"
- version="1.0.0"
+ version="0.9"
provider-name="IBM"
class="org.eclipse.swt.examples.controls.ControlPlugin">
-
<!-- Required plugins -->
-
<requires>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
@@ -17,15 +15,12 @@
</requires>
<!-- Runtime -->
-
<runtime>
<library name="controls.jar"/>
</runtime>
-<!-- Extension points -->
-
-
<!-- Extensions -->
+<!-- Extension points -->
<extension
point="org.eclipse.ui.views">
<category
@@ -39,18 +34,18 @@
id="org.eclipse.swt.examples.controls.view">
</view>
</extension>
-
<extension
point="org.eclipse.swt.examples.launcher.launchItems">
- <category
- name="%launchcategory.SWTExamples.name"
- id="org.eclipse.swt.examples.launchcategory">
- </category>
- <viewItem
- name="%launchitem.ControlsExample.name"
- id="org.eclipse.swt.examples.controls.launcher"
- viewId="org.eclipse.swt.examples.controls.view"
- description="%launchitem.ControlsExample.description"
- category="org.eclipse.swt.examples.launchcategory"/>
+ <category
+ name="%launchcategory.SWTExamples.name"
+ id="org.eclipse.swt.examples.launchcategory">
+ </category>
+ <viewItem
+ viewId="org.eclipse.swt.examples.controls.view"
+ name="%launchitem.ControlsExample.name"
+ description="%launchitem.ControlsExample.description"
+ category="org.eclipse.swt.examples.launchcategory"
+ id="org.eclipse.swt.examples.controls.launcher">
+ </viewItem>
</extension>
</plugin>
diff --git a/examples/org.eclipse.swt.examples.launcher/.classpath b/examples/org.eclipse.swt.examples.launcher/.classpath
index b7f3bd4086..fb30743a53 100755
--- a/examples/org.eclipse.swt.examples.launcher/.classpath
+++ b/examples/org.eclipse.swt.examples.launcher/.classpath
@@ -6,10 +6,10 @@
<classpathentry kind="src" path="/org.eclipse.swt"/>
<classpathentry kind="var" path="JRE_LIB"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.resources/resources.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.resources/resourcessrc.zip"/>
+ path="WORKSPACE/org.eclipse.core.resources/resources.jar" sourcepath="WORKSPACE/org.eclipse.core.resources/resourcessrc.zip"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.runtime/runtime.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.runtime/runtimesrc.zip"/>
+ path="WORKSPACE/org.eclipse.core.runtime/runtime.jar" sourcepath="WORKSPACE/org.eclipse.core.runtime/runtimesrc.zip"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.ui/workbench.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.ui/workbenchsrc.zip"/>
+ path="WORKSPACE/org.eclipse.ui/workbench.jar" sourcepath="WORKSPACE/org.eclipse.ui/workbenchsrc.zip"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/examples/org.eclipse.swt.examples.launcher/plugin.properties b/examples/org.eclipse.swt.examples.launcher/plugin.properties
index 03066088cc..92be9837f4 100755
--- a/examples/org.eclipse.swt.examples.launcher/plugin.properties
+++ b/examples/org.eclipse.swt.examples.launcher/plugin.properties
@@ -16,11 +16,18 @@ error.IncompleteViewLaunchItem = Incomplete XML ViewLaunchItem definition
dialog.RunProgramProblems.title = Run Program Problems
dialog.RunProgramErrorCheckLog.message = Error while running program "{0}", check log for details.
+dialog.ImportPathInput.title = Add to Workbench
+dialog.ImportPathInput.message = Enter the name of the new project to create.
+dialog.InvalidTargetProjectPath.interactive = Not a valid project name.
+dialog.ExistingProjectPath.interactive = A project with that name already exists.
+
dialog.ImportProgramProblems.title = Add to Workbench Problems
dialog.InvalidTargetProjectPath.message = "{0}" is not a valid project name.
dialog.ErrorAccessingZipFile.message = Error accessing Zip/Jar file "{0}" for import. {1}
+dialog.ErrorCreatingNewProject.message = Error creating new project. {0}
+dialog.ErrorUpdatingProjectProperties.message = Error updating project properties. {0}
-dialog.ImportProgramOverwrite.title = Question
+dialog.ImportProgramOverwrite.title = Add to Workbench
dialog.FileAlreadyExists.message = {0} already exists. Would you like to overwrite it?
launchitem.Null.description = <<no item selected>>
diff --git a/examples/org.eclipse.swt.examples.launcher/plugin.xml b/examples/org.eclipse.swt.examples.launcher/plugin.xml
index ed8b5d96be..5a2940f538 100755
--- a/examples/org.eclipse.swt.examples.launcher/plugin.xml
+++ b/examples/org.eclipse.swt.examples.launcher/plugin.xml
@@ -3,12 +3,10 @@
<plugin
id="org.eclipse.swt.examples.launcher"
name="%plugin.SWTLauncherExample.name"
- version="1.0.0"
+ version="0.9"
provider-name="IBM"
class="org.eclipse.swt.examples.launcher.LauncherPlugin">
-
<!-- Required plugins -->
-
<requires>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
@@ -17,13 +15,11 @@
</requires>
<!-- Runtime -->
-
<runtime>
<library name="launcher.jar"/>
</runtime>
<!-- Extension points -->
-
<extension-point id="launchItems" name="%extension-point.launchItems.name" schema="schema/org.eclipse.swt.examples.launcher.launchItems.xsd"/>
<!-- Extensions -->
@@ -50,8 +46,8 @@
<viewItem
viewId="org.eclipse.swt.examples.launcher.view"
name="%launchitem.LauncherExample.name"
+ description="%launchitem.LauncherExample.description"
category="org.eclipse.swt.examples.launchcategory"
- description="%launchitem.LauncherExample.description"
id="org.eclipse.swt.examples.launcher.launcher">
</viewItem>
</extension>
diff --git a/examples/org.eclipse.swt.examples.ole.win32/.classpath b/examples/org.eclipse.swt.examples.ole.win32/.classpath
index 2057dc6610..507599f39a 100755
--- a/examples/org.eclipse.swt.examples.ole.win32/.classpath
+++ b/examples/org.eclipse.swt.examples.ole.win32/.classpath
@@ -4,10 +4,10 @@
<classpathentry kind="src" path="/org.eclipse.swt"/>
<classpathentry kind="var" path="JRE_LIB"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.resources/resources.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.resources/resourcessrc.zip"/>
+ path="WORKSPACE/org.eclipse.core.resources/resources.jar" sourcepath="WORKSPACE/org.eclipse.core.resources/resourcessrc.zip"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.runtime/runtime.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.runtime/runtimesrc.zip"/>
+ path="WORKSPACE/org.eclipse.core.runtime/runtime.jar" sourcepath="WORKSPACE/org.eclipse.core.runtime/runtimesrc.zip"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.ui/workbench.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.ui/workbenchsrc.zip"/>
+ path="WORKSPACE/org.eclipse.ui/workbench.jar" sourcepath="WORKSPACE/org.eclipse.ui/workbenchsrc.zip"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/examples/org.eclipse.swt.examples.ole.win32/plugin.xml b/examples/org.eclipse.swt.examples.ole.win32/plugin.xml
index 6adab5b802..3e7f6e32d6 100755
--- a/examples/org.eclipse.swt.examples.ole.win32/plugin.xml
+++ b/examples/org.eclipse.swt.examples.ole.win32/plugin.xml
@@ -3,12 +3,10 @@
<plugin
id="org.eclipse.swt.examples.ole.win32"
name="%plugin.SWTOLEExample.name"
- version="1.0.0"
+ version="0.9"
provider-name="IBM"
class="org.eclipse.swt.examples.ole.win32.OlePlugin">
-
<!-- Required plugins -->
-
<requires>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
@@ -17,15 +15,12 @@
</requires>
<!-- Runtime -->
-
<runtime>
<library name="olewin32.jar"/>
</runtime>
-<!-- Extension points -->
-
-
<!-- Extensions -->
+<!-- Extension points -->
<extension
point="org.eclipse.ui.views">
<category
@@ -39,20 +34,19 @@
id="org.eclipse.swt.examples.ole.win32.browserView">
</view>
</extension>
-
<extension
point="org.eclipse.swt.examples.launcher.launchItems">
- <category
- name="%launchcategory.SWTExamples.name"
- description="%launchcategory.SWTExamples.description"
- id="org.eclipse.swt.examples.launchcategory">
- </category>
- <viewItem
- name="%launchitem.OLEWebBrowserExample.name"
- id="org.eclipse.swt.examples.ole.win32.launcher"
- viewId="org.eclipse.swt.examples.ole.win32.browserView"
- description="%launchitem.OLEWebBrowserExample.description"
- category="org.eclipse.swt.examples.launchcategory"/>
+ <category
+ name="%launchcategory.SWTExamples.name"
+ description="%launchcategory.SWTExamples.description"
+ id="org.eclipse.swt.examples.launchcategory">
+ </category>
+ <viewItem
+ viewId="org.eclipse.swt.examples.ole.win32.browserView"
+ name="%launchitem.OLEWebBrowserExample.name"
+ description="%launchitem.OLEWebBrowserExample.description"
+ category="org.eclipse.swt.examples.launchcategory"
+ id="org.eclipse.swt.examples.ole.win32.launcher">
+ </viewItem>
</extension>
-
</plugin>
diff --git a/examples/org.eclipse.swt.examples.paint/.classpath b/examples/org.eclipse.swt.examples.paint/.classpath
index 2576509d69..b85720aff7 100755
--- a/examples/org.eclipse.swt.examples.paint/.classpath
+++ b/examples/org.eclipse.swt.examples.paint/.classpath
@@ -5,10 +5,10 @@
<classpathentry kind="src" path="/org.eclipse.swt"/>
<classpathentry kind="var" path="JRE_LIB"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.resources/resources.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.resources/resourcessrc.zip"/>
+ path="WORKSPACE/org.eclipse.core.resources/resources.jar" sourcepath="WORKSPACE/org.eclipse.core.resources/resourcessrc.zip"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.runtime/runtime.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.core.runtime/runtimesrc.zip"/>
+ path="WORKSPACE/org.eclipse.core.runtime/runtime.jar" sourcepath="WORKSPACE/org.eclipse.core.runtime/runtimesrc.zip"/>
<classpathentry kind="var"
- path="PDE_ECLIPSE_HOME/plugins/org.eclipse.ui/workbench.jar" sourcepath="PDE_ECLIPSE_HOME/plugins/org.eclipse.ui/workbenchsrc.zip"/>
+ path="WORKSPACE/org.eclipse.ui/workbench.jar" sourcepath="WORKSPACE/org.eclipse.ui/workbenchsrc.zip"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/examples/org.eclipse.swt.examples.paint/plugin.xml b/examples/org.eclipse.swt.examples.paint/plugin.xml
index 28aa6d4d38..cc485c60b9 100755
--- a/examples/org.eclipse.swt.examples.paint/plugin.xml
+++ b/examples/org.eclipse.swt.examples.paint/plugin.xml
@@ -3,12 +3,10 @@
<plugin
id="org.eclipse.swt.examples.paint"
name="%plugin.SWTPaintExample.name"
- version="1.0.0"
+ version="0.9"
provider-name="IBM"
class="org.eclipse.swt.examples.paint.PaintPlugin">
-
<!-- Required plugins -->
-
<requires>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
@@ -17,15 +15,12 @@
</requires>
<!-- Runtime -->
-
<runtime>
<library name="paint.jar"/>
</runtime>
-<!-- Extension points -->
-
-
<!-- Extensions -->
+<!-- Extension points -->
<extension
point="org.eclipse.ui.views">
<category
@@ -39,110 +34,108 @@
id="org.eclipse.swt.examples.paint.view">
</view>
</extension>
-
<extension
point="org.eclipse.ui.viewActions">
<viewContribution
targetID="org.eclipse.swt.examples.paint.view"
id="org.eclipse.swt.examples.paint.viewContribution">
<menu
- id="org.eclipse.swt.examples.paint.menuTools"
- label="%menu.Tools.label">
+ label="%menu.Tools.label"
+ id="org.eclipse.swt.examples.paint.menuTools">
</menu>
<action
+ state="false"
id="org.eclipse.swt.examples.paint.toolPencil"
toolbarPath="Normal/Pencil"
- menubarPath="org.eclipse.swt.examples.paint.menuTools/Pencil"
class="org.eclipse.swt.examples.paint.PaintViewAction"
- state="false"
enablesFor="*"
icon="icons/pencil_tool.gif"
label="%tool.Pencil.label"
+ menubarPath="org.eclipse.swt.examples.paint.menuTools/Pencil"
tooltip="%tool.Pencil.tooltip">
</action>
<action
+ state="false"
id="org.eclipse.swt.examples.paint.toolAirbrush"
toolbarPath="Normal/Airbrush"
- menubarPath="org.eclipse.swt.examples.paint.menuTools/Airbrush"
class="org.eclipse.swt.examples.paint.PaintViewAction"
- state="false"
enablesFor="*"
icon="icons/airbrush_tool.gif"
label="%tool.Airbrush.label"
+ menubarPath="org.eclipse.swt.examples.paint.menuTools/Airbrush"
tooltip="%tool.Airbrush.tooltip">
</action>
<action
+ state="false"
id="org.eclipse.swt.examples.paint.toolLine"
toolbarPath="Normal/Line"
- menubarPath="org.eclipse.swt.examples.paint.menuTools/Line"
class="org.eclipse.swt.examples.paint.PaintViewAction"
- state="false"
enablesFor="*"
icon="icons/line_tool.gif"
label="%tool.Line.label"
+ menubarPath="org.eclipse.swt.examples.paint.menuTools/Line"
tooltip="%tool.Line.tooltip">
</action>
<action
+ state="false"
id="org.eclipse.swt.examples.paint.toolPolyLine"
toolbarPath="Normal/Polygon"
- menubarPath="org.eclipse.swt.examples.paint.menuTools/PolyLine"
class="org.eclipse.swt.examples.paint.PaintViewAction"
- state="false"
enablesFor="*"
icon="icons/polyline_tool.gif"
label="%tool.PolyLine.label"
+ menubarPath="org.eclipse.swt.examples.paint.menuTools/PolyLine"
tooltip="%tool.PolyLine.tooltip">
</action>
<action
+ state="false"
id="org.eclipse.swt.examples.paint.toolEllipse"
toolbarPath="Normal/Ellipse"
- menubarPath="org.eclipse.swt.examples.paint.menuTools/Ellipse"
class="org.eclipse.swt.examples.paint.PaintViewAction"
- state="false"
enablesFor="*"
icon="icons/ellipse_tool.gif"
label="%tool.Ellipse.label"
+ menubarPath="org.eclipse.swt.examples.paint.menuTools/Ellipse"
tooltip="%tool.Ellipse.tooltip">
</action>
<action
+ state="false"
id="org.eclipse.swt.examples.paint.toolRectangle"
toolbarPath="Normal/Rectangle"
- menubarPath="org.eclipse.swt.examples.paint.menuTools/Rectangle"
class="org.eclipse.swt.examples.paint.PaintViewAction"
- state="false"
enablesFor="*"
icon="icons/rectangle_tool.gif"
label="%tool.Rectangle.label"
+ menubarPath="org.eclipse.swt.examples.paint.menuTools/Rectangle"
tooltip="%tool.Rectangle.tooltip">
</action>
<action
+ state="false"
id="org.eclipse.swt.examples.paint.toolFilledRectangle"
toolbarPath="Normal/FilledRectangle"
- menubarPath="org.eclipse.swt.examples.paint.menuTools/FilledRectangle"
class="org.eclipse.swt.examples.paint.PaintViewAction"
- state="false"
enablesFor="*"
icon="icons/filledrectangle_tool.gif"
label="%tool.FilledRectangle.label"
+ menubarPath="org.eclipse.swt.examples.paint.menuTools/FilledRectangle"
tooltip="%tool.FilledRectangle.tooltip">
</action>
</viewContribution>
</extension>
-
<extension
point="org.eclipse.swt.examples.launcher.launchItems">
- <category
- name="%launchcategory.SWTExamples.name"
- description="%launchcategory.SWTExamples.description"
- id="org.eclipse.swt.examples.launchcategory">
- </category>
- <viewItem
- name="%launchitem.PaintExample.name"
- id="org.eclipse.swt.examples.paint.launcher"
- viewId="org.eclipse.swt.examples.paint.view"
- description="%launchitem.PaintExample.description"
- source="paintsrc.zip"
- category="org.eclipse.swt.examples.launchcategory"/>
+ <category
+ name="%launchcategory.SWTExamples.name"
+ description="%launchcategory.SWTExamples.description"
+ id="org.eclipse.swt.examples.launchcategory">
+ </category>
+ <viewItem
+ viewId="org.eclipse.swt.examples.paint.view"
+ name="%launchitem.PaintExample.name"
+ description="%launchitem.PaintExample.description"
+ category="org.eclipse.swt.examples.launchcategory"
+ source="paintsrc.zip"
+ id="org.eclipse.swt.examples.paint.launcher">
+ </viewItem>
</extension>
-
</plugin>

Back to the top