Blame view
src/mior/controler/ConfigureAssociationsAction.java
529 Bytes
89f70c1ec import current mc... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
package mior.controler; import java.awt.event.ActionEvent; import javax.swing.AbstractButton; import mior.view.MiorCanvas; public class ConfigureAssociationsAction extends AbstractMiorAction<MiorCanvas> { private static final long serialVersionUID = 1L; public ConfigureAssociationsAction(MiorCanvas data) { super(data, "Show associations"); } @Override public void actionPerformed(ActionEvent e) { AbstractButton src = (AbstractButton) e.getSource(); getData().setAssociationsVisible(src.isSelected()); } } |