use of delta.games.lotro.gui.deed.form.DeedDisplayWindowController in project lotro-companion by dmorcellet.
the class DeedsExplorerWindowController method initDeedsTable.
private void initDeedsTable() {
TypedProperties prefs = GlobalPreferences.getGlobalProperties("DeedsExplorer");
_tableController = new DeedsTableController(prefs, _filter);
ActionListener al = new ActionListener() {
@Override
public void actionPerformed(ActionEvent event) {
String action = event.getActionCommand();
if (DeedsTableController.DOUBLE_CLICK.equals(action)) {
DeedDescription deed = (DeedDescription) event.getSource();
DeedDisplayWindowController window = new DeedDisplayWindowController(DeedsExplorerWindowController.this);
window.setDeed(deed);
window.show(false);
}
}
};
_tableController.addActionListener(al);
}
Aggregations