Resource tab filter dialog

Posted by Admin on 02-Oct-2008 09:02

Is it possible to add additional expressions to the filter dialog for the resources tab? I have some additional file types I'd like to hide.

Thanks,

JL

All Replies

Posted by Matt Baker on 02-Oct-2008 13:55

You would need to write your own plug-in using the PDE and contribute the file extensions you want to hide through the plug-in's extensions.

Posted by Admin on 02-Oct-2008 14:00

Ouch!

Thanks Matthew; don't think I need it that badly though!

Posted by Matt Baker on 02-Oct-2008 14:32

Sorry for the bad news I looked around at it a bit, but by default the resources view filter doesn't have a wild card option like the JDT Package view does.

Posted by Admin on 02-Oct-2008 14:37

Thanks for checking.

I found where, in the workbench.xml file in the workplace .metadata\.plugins\org.eclipse.ui.workbench directory contained the entries for the filter selection and I tried adding it there, but OEA just removed it when it restarted.

Nice would be Filter Dialog / Right-click / Add a filter

JL

Posted by ccamarata on 30-Dec-2008 08:35

You can modify

oeide\architect\eclipse\plugins\com.openedge.pdt.text_10.1.1.00\plugin.xml

Search for a ResourceFilter string in the code and you'll see the entries listed.

Remember to restart Architect Clean.

You'll lose your settings when you upgrade but it should work in the meantime

Posted by Admin on 30-Dec-2008 08:40

I'd rather log an enhancement request to have the default filters settable in the OEA preferences dialog with an export/import function.

Manipulating files in the DLC directory manually usually scares me.

Posted by Admin on 30-Dec-2008 08:45

Christopher.

Thanks! That worked great.

JL

This thread is closed