- Timestamp:
- 2014-10-29T20:48:08+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java
r7661 r7674 113 113 private AutoAdjustingSplitPane spTagConflictTypes; 114 114 private TagConflictResolver pnlTagConflictResolver; 115 pr ivateRelationMemberConflictResolver pnlRelationMemberConflictResolver;115 protected RelationMemberConflictResolver pnlRelationMemberConflictResolver; 116 116 private boolean canceled; 117 117 private JPanel pnlButtons; 118 pr ivateOsmPrimitive targetPrimitive;118 protected OsmPrimitive targetPrimitive; 119 119 120 120 /** the private help action */ … … 191 191 } 192 192 193 protected ApplyAction buildApplyAction() { 194 return new ApplyAction(); 195 } 196 193 197 protected JPanel buildButtonPanel() { 194 198 JPanel pnl = new JPanel(new FlowLayout(FlowLayout.CENTER)); 195 199 196 200 // -- apply button 197 ApplyAction applyAction = newApplyAction();201 ApplyAction applyAction = buildApplyAction(); 198 202 pnlTagConflictResolver.getModel().addPropertyChangeListener(applyAction); 199 203 pnlRelationMemberConflictResolver.getModel().addPropertyChangeListener(applyAction); … … 295 299 296 300 protected void prepareDefaultTagDecisions() { 297 TagConflictResolverModel model = getTagConflictResolverModel(); 298 model.prepareDefaultTagDecisions(); 299 model.rebuild(); 301 getTagConflictResolverModel().prepareDefaultTagDecisions(); 300 302 } 301 303 … … 417 419 } 418 420 419 class ApplyAction extends AbstractAction implements PropertyChangeListener {421 protected class ApplyAction extends AbstractAction implements PropertyChangeListener { 420 422 421 423 public ApplyAction() {
Note:
See TracChangeset
for help on using the changeset viewer.