Skip to content

Commit

Permalink
First attempt to Fix #767. Allow import wizzards
Browse files Browse the repository at this point in the history
  • Loading branch information
JContardo committed Jun 25, 2016
1 parent a1cfcdd commit f7a0c8b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RemoveWizardsStartup implements WollokUIStartup {
val categories = registry.rootCategory.categories
for (wizard : categories.allWizards) {
if (!wizard.id.includeWizards) {
// println("Removing wizard " + wizard.id)
//println("Removing wizard " + wizard.id)
val wizardElement = wizard as WorkbenchWizardElement
registry.removeExtension(wizardElement.configurationElement.declaringExtension, #[wizardElement])
}
Expand All @@ -53,7 +53,8 @@ class RemoveWizardsStartup implements WollokUIStartup {
"org\\.eclipse\\.ui\\..*",
"org\\.uqbar\\.project\\.wollok\\..*",
"org\\.eclipse\\.jdt\\.ui\\.wizards\\.NewPackageCreationWizard",
"org\\.eclipse\\.jdt\\.ui\\.wizards\\.NewSourceFolderCreationWizard"
"org\\.eclipse\\.jdt\\.ui\\.wizards\\.NewSourceFolderCreationWizard",
"org\\.tigris\\.subversion\\.subclipse\\.ui\\.wizards\\..*"
]
def includeWizards(String id) {
includeWizards.exists[id.matches(it)]
Expand Down

0 comments on commit f7a0c8b

Please sign in to comment.