mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
renaming method addLabel to linkLabel
This commit is contained in:
parent
6432fefa67
commit
ae31613fdd
@ -652,7 +652,7 @@ public class MindmapController extends BaseController {
|
|||||||
final Mindmap mindmap = findMindmapById(mindmapId);
|
final Mindmap mindmap = findMindmapById(mindmapId);
|
||||||
final Label label = mindmap.findLabel(labelId);
|
final Label label = mindmap.findLabel(labelId);
|
||||||
if (label == null) {
|
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 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);
|
void removeLabel(@NotNull final Mindmap mindmap, @NotNull final Label label);
|
||||||
}
|
}
|
||||||
|
@ -88,7 +88,7 @@ public class MindmapServiceImpl
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addLabel(@NotNull Mindmap mindmap, @NotNull final Label label) {
|
public void linkLabel(@NotNull Mindmap mindmap, @NotNull final Label label) {
|
||||||
mindmap.addLabel(label);
|
mindmap.addLabel(label);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user