Hi Jose,
We don't (yet) have a plugin point for this, so you'll need to modify TerriaJS itself. You'll need to follow the instructions here to set up your development environment to use a modified version of TerriaJS:
Because TerriaJS master is using a newer version of Cesium right now, there's an extra step that unfortunately isn't documented on the page above (I need to fix this). You need to do one of these two things:
1. Check out TerriaJS v6.0.5 instead of master after cloning the terriajs repo into packages/terriajs: `cd packages/terriajs && git checkout 6.0.5`.
2. Sync the TerriaMap dependencies to match TerriaJS. From the root TerriaMap directory: `npm install -g sync-dependencies && sync-dependencies --source terriajs --from packages/terriajs/package.json && rm -rf node_modules && npm install`.
Once that it set up, you'll need to start by modifying this file, adding a new component inside the `<If condition={workbenchItem.isLegendVisible}>` block:
Your new component's render function can simply return null if it doesn't make sense to show your new controls for the given catalog item.
To disable the display variable selection, you'll want to add some new logic to the ConceptViewer component:
Hope that helps, let me know if you have any questions.
Kevin