Skip to content

Commit d32cd41

Browse files
authored
Merge pull request #2750 from Mailaender/wizard-filter
Filter fewer wizards
2 parents 48e5888 + 6aa62cf commit d32cd41

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

chemclipse/plugins/org.eclipse.chemclipse.rcp.app.ui/src/org/eclipse/chemclipse/rcp/app/ui/ApplicationWorkbenchAdvisor.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
4242
* org.eclipse.ui.wizards.import.Preferences
4343
* org.eclipse.ui.wizards.export.Preferences
4444
*/
45-
private static final String IMPORT_EXPORT_WIZARDS = "org\\.eclipse\\.ui\\.wizards\\.(import|export)\\.(?![Preferences|ExternalProject]).*";
46-
private static final String EQUINOX_WIZARDS = "org\\.eclipse\\.equinox\\.p2\\.replication.*";
4745
private static final String TEAM_E4_WIZARDS = "org\\.eclipse\\.(team|e4)\\.ui.*";
48-
private static final String ECLIPSE_DEBUG = "org\\.eclipse\\.debug.*";
4946

5047
@Override
5148
public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
@@ -97,10 +94,7 @@ private boolean removeWizard(IWizardDescriptor wizard) {
9794
/*
9895
* Inspect the ids here.
9996
*/
100-
return id.matches(IMPORT_EXPORT_WIZARDS) || //
101-
id.matches(EQUINOX_WIZARDS) || //
102-
id.matches(TEAM_E4_WIZARDS) || //
103-
id.matches(ECLIPSE_DEBUG); //
97+
return id.matches(TEAM_E4_WIZARDS);
10498
}
10599

106100
private IWizardDescriptor[] getAllWizards(IWizardCategory[] categories) {

0 commit comments

Comments
 (0)