updateWebSeeds();
refreshDetails();
}
});
btnNew = new Button(panel, SWT.PUSH);
Messages.setLanguageText(btnNew, "wizard.multitracker.new");
gridData = new GridData();
gridData.widthHint = 100;
btnNew.setLayoutData(gridData);
btnNew.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e) {
Map webseeds = new HashMap();
webseeds.put( "getright", new ArrayList());
webseeds.put( "webseed", new ArrayList());
new WebSeedsEditor(null,webseeds,WebSeedPanel.this);
}
});
btnEdit = new Button(panel, SWT.PUSH);
Messages.setLanguageText(btnEdit, "wizard.multitracker.edit");
gridData = new GridData();
gridData.widthHint = 100;
btnEdit.setLayoutData(gridData);
btnEdit.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e) {
int selection = configList.getSelectionIndex();
String selected = configList.getItem(selection);
Map webseeds = TrackersUtil.getInstance().getWebSeeds();
new WebSeedsEditor(selected,(Map)webseeds.get(selected),WebSeedPanel.this);
}
});
btnDelete = new Button(panel, SWT.PUSH);
Messages.setLanguageText(btnDelete, "wizard.multitracker.delete");
gridData = new GridData(GridData.HORIZONTAL_ALIGN_END);
gridData.widthHint = 100;
btnDelete.setLayoutData(gridData);
btnDelete.addListener(SWT.Selection, new Listener() {