selector.setCaption("Select one or more plugins to apply to the selected file");
return selector;
}
private PluginPositionSelectorModel prepareModel() {
PluginPositionSelectorModel model = service.getModel();
model.setCheckSelectionEnabled(true);
model.setSupportedRelativePositions(EnumSet.of(RelativePosition.PRE, RelativePosition.POST));
model.setSelectedRelativePositions(EnumSet.of(RelativePosition.POST));
model.addPropertyChangeListener(PluginPositionSelectorModel.PLUGIN_POSITIONS, new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
restoreInitialSelection();
}