source: josm/trunk/src/org/openstreetmap/josm/actions/IPrimitiveAction.java@ 13957

Last change on this file since 13957 was 13957, checked in by Don-vip, 6 years ago

use IRelation in RelationListDialog and *RelationActions

  • Property svn:eol-style set to native
File size: 592 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.actions;
3
4import java.util.Collection;
5
6import javax.swing.Action;
7
8import org.openstreetmap.josm.data.osm.IPrimitive;
9
10/**
11 * Interface used to enable/disable all primitive-related actions, even those registered by plugins.
12 * @since 13957
13 */
14public interface IPrimitiveAction extends Action {
15
16 /**
17 * Specifies the working set of primitives.
18 * @param primitives The new working set of primitives. Can be null or empty
19 */
20 void setPrimitives(Collection<? extends IPrimitive> primitives);
21}
Note: See TracBrowser for help on using the repository browser.