Search in sources :

Example 1 with SoundLayerListPanel

use of blue.ui.core.score.soundLayer.SoundLayerListPanel in project blue by kunstmusik.

the class PolyObjectUIProvider method getLayerGroupHeaderPanel.

@Override
public JComponent getLayerGroupHeaderPanel(LayerGroup layerGroup, TimeState timeState, BlueData data, InstanceContent ic) {
    JComponent returnValue = null;
    if (layerGroup instanceof PolyObject) {
        SoundLayerListPanel panel = new SoundLayerListPanel();
        panel.setPolyObject((PolyObject) layerGroup);
        returnValue = panel;
    }
    return returnValue;
}
Also used : SoundLayerListPanel(blue.ui.core.score.soundLayer.SoundLayerListPanel) JComponent(javax.swing.JComponent) PolyObject(blue.soundObject.PolyObject)

Aggregations

PolyObject (blue.soundObject.PolyObject)1 SoundLayerListPanel (blue.ui.core.score.soundLayer.SoundLayerListPanel)1 JComponent (javax.swing.JComponent)1