For a plugin I'm working on, I'm creating a custom Deployment Configuration type by subclassing ServerType.
By overriding the createEditor method I see that I can create a custom SettingsEditor panel with additional configuration options.
However, I'd like to also customize how the Deployment selector dropdown (which selects project Artifacts / Modules) works in combination with my new configuration: my goal is to create a new file navigator which allows the user to manually browse to and select a deployment artifact (e.g. a jar / war file) to be used as the target of deployment.
Currently the way the panel behaves is that if no deployment sources are found for the project, then the custom SettingsEditor panel is never shown and hence I cannot show the file selector to the user in this situation. I still need to give the user the option to manually select a deployment artifact even if one is not preconfigured for the project.
Is there a suggested workaround to get the desired behavior I described?