mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-11 23:00:06 +02:00
renaming method addLabel to linkLabel
This commit is contained in:
parent
e229ed96e4
commit
d7cfa0de04
@ -652,7 +652,7 @@ public class MindmapController extends BaseController {
|
||||
final Mindmap mindmap = findMindmapById(mindmapId);
|
||||
final Label label = mindmap.findLabel(labelId);
|
||||
if (label == null) {
|
||||
mindmapService.addLabel(mindmap, delegated);
|
||||
mindmapService.linkLabel(mindmap, delegated);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ public interface MindmapService {
|
||||
|
||||
void purgeHistory(int mapId) throws IOException;
|
||||
|
||||
void addLabel(@NotNull final Mindmap mindmap, @NotNull final Label label);
|
||||
void linkLabel(@NotNull final Mindmap mindmap, @NotNull final Label label);
|
||||
|
||||
void removeLabel(@NotNull final Mindmap mindmap, @NotNull final Label label);
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ public class MindmapServiceImpl
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addLabel(@NotNull Mindmap mindmap, @NotNull final Label label) {
|
||||
public void linkLabel(@NotNull Mindmap mindmap, @NotNull final Label label) {
|
||||
mindmap.addLabel(label);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user