Ignore:
Timestamp:
2013-07-26T13:38:17+02:00 (11 years ago)
Author:
bastiK
Message:

see #8902 - add missing @Override annotations (patch by shinigami)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java

    r6068 r6084  
    8787    /* Interface SelectionChangedListener                                          */
    8888    /* --------------------------------------------------------------------------- */
     89    @Override
    8990    public void selectionChanged(Collection<? extends OsmPrimitive> newSelection) {
    9091        if (Main.main.getEditLayer() != this.layer) return;
     
    9899    /* Interface DataSetListener                                                   */
    99100    /* --------------------------------------------------------------------------- */
     101    @Override
    100102    public void dataChanged(DataChangedEvent event) {
    101103        // just trigger a repaint - the display name of the relation members may
     
    106108    }
    107109
     110    @Override
    108111    public void nodeMoved(NodeMovedEvent event) {/* ignore */}
     112    @Override
    109113    public void primitivesAdded(PrimitivesAddedEvent event) {/* ignore */}
    110114
     115    @Override
    111116    public void primitivesRemoved(PrimitivesRemovedEvent event) {
    112117        // ignore - the relation in the editor might become out of sync with the relation
     
    115120    }
    116121
     122    @Override
    117123    public void relationMembersChanged(RelationMembersChangedEvent event) {
    118124        // ignore - the relation in the editor might become out of sync with the relation
     
    121127    }
    122128
     129    @Override
    123130    public void tagsChanged(TagsChangedEvent event) {
    124131        // just refresh the respective table cells
     
    133140    }
    134141
     142    @Override
    135143    public void wayNodesChanged(WayNodesChangedEvent event) {/* ignore */}
    136144
     145    @Override
    137146    public void otherDatasetChange(AbstractDatasetChangedEvent event) {/* ignore */}
    138147    /* --------------------------------------------------------------------------- */
     
    164173    }
    165174
     175    @Override
    166176    public int getColumnCount() {
    167177        return 3;
    168178    }
    169179
     180    @Override
    170181    public int getRowCount() {
    171182        return members.size();
    172183    }
    173184
     185    @Override
    174186    public Object getValueAt(int rowIndex, int columnIndex) {
    175187        switch (columnIndex) {
     
    726738    }
    727739
     740    @Override
    728741    public void tableChanged(TableModelEvent e) {
    729742        connectionType = null;
Note: See TracChangeset for help on using the changeset viewer.