I have an eclipse RCP application (RCP version 4.12.0.v20190605-1801) using SWT. I want to add the eclipse QuickAccess TextField as search bar to my project like in the Java eclipse IDE (which is also available by pressing ctrl + 3).
I have scoured the documentation and the only thing I have found is the following:
@Override
protected void fillCoolBar(ICoolBarManager coolBar) {
// ToolBar File & Additions
IToolBarManager fileToolBar = new ToolBarManager(coolBar.getStyle());
fileToolBar.add(ActionFactory.SHOW_QUICK_ACCESS.create(window)); // window == class attribute
// Add some other stuff
}
This produces a QuickAccess button in my case, but no TextField. It works the same way if you click on it, but I would prefer to have the TextField as it is more clear to the user.
I only found threads on how to remove the TextField, but not how to add it, e.g. SO post here. So I guess it must be a somewhat built in feature.
If anyone's interested it is for the JCrypTool project:
Hope I didn't miss anything important, thanks for your help in advance.