Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 49932 Details for
Bug 156928
[CommonNavigator] Make Common Navigator Framework commonWizard extension capabilities-aware
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Adds wizard extensions to test the patch
org.eclipse.ui.tests.navigator_bug156928.txt (text/plain), 6.44 KB, created by
Michael D. Elder
on 2006-09-12 09:46:51 EDT
(
hide
)
Description:
Adds wizard extensions to test the patch
Filename:
MIME Type:
Creator:
Michael D. Elder
Created:
2006-09-12 09:46:51 EDT
Size:
6.44 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.tests.navigator >Index: plugin.xml >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.tests.navigator/plugin.xml,v >retrieving revision 1.18.2.1 >diff -u -r1.18.2.1 plugin.xml >--- plugin.xml 27 Jul 2006 18:50:56 -0000 1.18.2.1 >+++ plugin.xml 12 Sep 2006 13:47:23 -0000 >@@ -206,5 +206,74 @@ > <objectClass name="org.eclipse.ui.tests.navigator.extension.TestExtensionTreeData"/> > </enablement> > </decorator> >+ </extension> >+ <extension >+ point="org.eclipse.ui.activities"> >+ <activityPatternBinding >+ activityId="org.eclipse.wst.web" >+ pattern="org\.eclipse\.ui\.tests\.navigator\.*"/> >+ </extension> >+ >+ <extension >+ point="org.eclipse.ui.newWizards"> >+ <wizard >+ class="org.eclipse.ui.tests.navigator.wizards.NewWizard1" >+ id="org.eclipse.ui.tests.navigator.SampleNewWizard" >+ name="Sample New Wizard (Does Nothing)"/> >+ </extension> >+ >+ <extension >+ point="org.eclipse.ui.importWizards"> >+ <wizard >+ class="org.eclipse.ui.tests.navigator.wizards.ImportWizard1" >+ id="org.eclipse.ui.tests.navigator.SampleImportWizard" >+ name="Sample Import Wizard (Does Nothing)"/> >+ </extension> >+ >+ <extension >+ point="org.eclipse.ui.exportWizards"> >+ <wizard >+ class="org.eclipse.ui.tests.navigator.wizards.ExportWizard1" >+ id="org.eclipse.ui.tests.navigator.SampleExportWizard" >+ name="Sample Export Wizard (Does Nothing)"/> >+ </extension> >+ <extension >+ point="org.eclipse.ui.navigator.navigatorContent"> >+ <commonWizard >+ associatedExtensionId="org.eclipse.ui.tests.navigator.testContent" >+ menuGroupId="org.eclipse.ui.tests.navigator" >+ type="import" >+ wizardId="org.eclipse.ui.tests.navigator.SampleImportWizard"> >+ <enablement> >+ <or> >+ <instanceof value="org.eclipse.ui.tests.navigator.extension.TestExtensionTreeData"/> >+ <instanceof value="org.eclipse.core.resources.IFile" /> >+ </or> >+ </enablement> >+ </commonWizard> >+ <commonWizard >+ associatedExtensionId="org.eclipse.ui.tests.navigator.testContent" >+ menuGroupId="org.eclipse.ui.tests.navigator" >+ type="export" >+ wizardId="org.eclipse.ui.tests.navigator.SampleExportWizard"> >+ <enablement> >+ <or> >+ <instanceof value="org.eclipse.ui.tests.navigator.extension.TestExtensionTreeData"/> >+ <instanceof value="org.eclipse.core.resources.IFile" /> >+ </or> >+ </enablement> >+ </commonWizard> >+ <commonWizard >+ associatedExtensionId="org.eclipse.ui.tests.navigator.testContent" >+ menuGroupId="org.eclipse.ui.tests.navigator" >+ type="new" >+ wizardId="org.eclipse.ui.tests.navigator.SampleNewWizard"> >+ <enablement> >+ <or> >+ <instanceof value="org.eclipse.ui.tests.navigator.extension.TestExtensionTreeData"/> >+ <instanceof value="org.eclipse.core.resources.IFile" /> >+ </or> >+ </enablement> >+ </commonWizard> > </extension> > </plugin> >Index: src/org/eclipse/ui/tests/navigator/wizards/NewWizard1.java >=================================================================== >RCS file: src/org/eclipse/ui/tests/navigator/wizards/NewWizard1.java >diff -N src/org/eclipse/ui/tests/navigator/wizards/NewWizard1.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/ui/tests/navigator/wizards/NewWizard1.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,27 @@ >+package org.eclipse.ui.tests.navigator.wizards; >+ >+import org.eclipse.jface.viewers.IStructuredSelection; >+import org.eclipse.jface.wizard.Wizard; >+import org.eclipse.ui.INewWizard; >+import org.eclipse.ui.IWorkbench; >+ >+/** >+ * Does nothing. Used to test the Capability-awareness of the <b>commonWizard</b> extension. >+ * >+ * @since 3.2 >+ * >+ */ >+public class NewWizard1 extends Wizard implements INewWizard { >+ >+ public NewWizard1() { >+ } >+ >+ public boolean performFinish() { >+ return false; >+ } >+ >+ public void init(IWorkbench workbench, IStructuredSelection selection) { >+ >+ } >+ >+} >Index: src/org/eclipse/ui/tests/navigator/wizards/ImportWizard1.java >=================================================================== >RCS file: src/org/eclipse/ui/tests/navigator/wizards/ImportWizard1.java >diff -N src/org/eclipse/ui/tests/navigator/wizards/ImportWizard1.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/ui/tests/navigator/wizards/ImportWizard1.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,27 @@ >+package org.eclipse.ui.tests.navigator.wizards; >+ >+import org.eclipse.jface.viewers.IStructuredSelection; >+import org.eclipse.jface.wizard.Wizard; >+import org.eclipse.ui.IImportWizard; >+import org.eclipse.ui.IWorkbench; >+ >+/** >+ * Does nothing. Used to test the Capability-awareness of the <b>commonWizard</b> extension. >+ * >+ * @since 3.2 >+ * >+ */ >+public class ImportWizard1 extends Wizard implements IImportWizard { >+ >+ public ImportWizard1() { >+ } >+ >+ public boolean performFinish() { >+ return false; >+ } >+ >+ public void init(IWorkbench workbench, IStructuredSelection selection) { >+ >+ } >+ >+} >Index: src/org/eclipse/ui/tests/navigator/wizards/ExportWizard1.java >=================================================================== >RCS file: src/org/eclipse/ui/tests/navigator/wizards/ExportWizard1.java >diff -N src/org/eclipse/ui/tests/navigator/wizards/ExportWizard1.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/ui/tests/navigator/wizards/ExportWizard1.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,27 @@ >+package org.eclipse.ui.tests.navigator.wizards; >+ >+import org.eclipse.jface.viewers.IStructuredSelection; >+import org.eclipse.jface.wizard.Wizard; >+import org.eclipse.ui.IExportWizard; >+import org.eclipse.ui.IWorkbench; >+/** >+ * Does nothing. Used to test the Capability-awareness of the <b>commonWizard</b> extension. >+ * >+ * @since 3.2 >+ * >+ */ >+public class ExportWizard1 extends Wizard implements IExportWizard { >+ >+ public ExportWizard1() { >+ } >+ >+ @Override >+ public boolean performFinish() { >+ return false; >+ } >+ >+ public void init(IWorkbench workbench, IStructuredSelection selection) { >+ >+ } >+ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 156928
:
49876
|
49931
| 49932