0

I've add an Standart EXPORT action on my FileMenu:

addToMenuAndRegister(menu, ActionFactory.EXPORT.create(window));

And created a contribution wizard:

<extension
 id="exportSQL"
 point="org.eclipse.ui.exportWizards"
 name="SQL скрипты создания документа СУФД">
      <wizard
            category="ru.otr.cactuss.model.editor.wizard2"
            icon="icons/database.png"
            class="ru.otr.cactuss.wizard.sqlexport.SQLExportWizard"
            id="ru.otr.cactuss.wizard.sqlexport.SQLExportWizard"
            name="SQL скрипты создания документа СУФД">
      </wizard>
</extension>

And it's all works fine, but there is 3 standart export actions in general folder: export as Archive File, File System and Preferences. At least two of them (2 first) are highly irrelevent to my project and I want to get rid of them. The question is - how?

Cœur
  • 37,241
  • 25
  • 195
  • 267
execc
  • 1,083
  • 12
  • 25

1 Answers1

1

Have a look at Filtering large user interfaces, especially the part of expression-based activities. That should do the trick and can even be used to remove other sorts of items such as views, commands and perspectives...

Tonny Madsen
  • 12,628
  • 4
  • 31
  • 70
  • hi @Tonny Madsen, Does it also work in Eclipse 4 environment. My original question is this: http://stackoverflow.com/q/10043190/948268 . – Kuldeep Jain Apr 17 '12 at 06:23
  • @KuldeepJain We have not yet encountered this problem in a 4.x setting, so I cannot tell you... – Tonny Madsen Apr 17 '12 at 07:24