Last change
on this file since 14118 was 13957, checked in by Don-vip, 6 years ago |
use IRelation in RelationListDialog and *RelationAction s
|
-
Property svn:eol-style
set to
native
|
File size:
592 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.actions;
|
---|
3 |
|
---|
4 | import java.util.Collection;
|
---|
5 |
|
---|
6 | import javax.swing.Action;
|
---|
7 |
|
---|
8 | import 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 | */
|
---|
14 | public 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.