bigdataviewer / bigdataviewer-core

ImgLib2-based viewer for registered SPIM stacks and more
BSD 2-Clause "Simplified" License
33 stars 35 forks source link

Populate services of cards #66

Open frauzufall opened 4 years ago

frauzufall commented 4 years ago

Hi @tpietzsch,

here are the changes I made to populate the services of a card. This is an example card where the change is needed in order to access the ObjectService:


@Plugin( type = DiscoverableCard.class)
public class LabelEditorCard extends JPanel implements DiscoverableCard
{

    @Parameter
    ObjectService objectService;

    @Override
    public Card getCard()
    {
        ...
    }
...
}