public void select() { AttributeController attributeController = Lookup.getDefault().lookup(AttributeController.class); attributeController.getModel(workspace).addAttributeListener(this); if (!autoRankings.isEmpty()) { autoTransformer.start(); } }
public void addAutoRanking(Ranking ranking, Transformer transformer) { AutoRanking autoRanking = new AutoRanking(ranking, transformer); removeAutoRanking(transformer); autoRankings.add(autoRanking); autoTransformer.start(); }