source: josm/trunk/src/org/openstreetmap/josm/actions/OsmPrimitiveAction.java@ 8685

Last change on this file since 8685 was 8512, checked in by Don-vip, 9 years ago

checkstyle: redundant modifiers

  • Property svn:eol-style set to native
File size: 597 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.OsmPrimitive;
9
10/**
11 * Interface used to enable/disable all primitive-related actions, even those registered by plugins.
12 * @since 5821
13 */
14public interface OsmPrimitiveAction 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 OsmPrimitive> primitives);
21}
Note: See TracBrowser for help on using the repository browser.