Add more and more icons...

main
Paulo Gustavo Veiga 2011-03-22 22:22:42 -03:00
parent 107e559364
commit 483b781981
41 changed files with 320 additions and 176 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@ wisemapping.ipr
wisemapping.iws wisemapping.iws
wisemapping.iml wisemapping.iml
wise-webapp/wisemapping.log wise-webapp/wisemapping.log
*/.DS_Store
.DS_Store

View File

@ -148,6 +148,6 @@ mindplot.ImageIcon.prototype.getUiId = function()
}; };
mindplot.ImageIcon.prototype.ICON_FAMILIES = [{"id": "flag", "icons" : ["flag_blue","flag_green","flag_orange","flag_pink","flag_purple","flag_yellow"]},{"id": "bullet", "icons" : ["bullet_black","bullet_blue","bullet_green","bullet_orange","bullet_red","bullet_pink","bullet_purple"]},{"id": "tag", "icons" : ["tag_blue","tag_green","tag_orange","tag_red","tag_pink","tag_yellow"]},{"id": "face", "icons" : ["face_plain","face_sad","face_crying","face_smile","face_surprise","face_wink"]},{"id": "funy", "icons" : ["funy_angel","funy_devilish","funy_glasses","funy_grin","funy_kiss","funy_monkey"]},{"id": "arrow", "icons" : ["arrow_up","arrow_down","arrow_left","arrow_right"]},{"id": "arrowc", "icons" : ["arrowc_rotate_anticlockwise","arrowc_rotate_clockwise","arrowc_turn_left","arrowc_turn_right"]},{"id": "conn", "icons" : ["conn_connect","conn_disconnect"]},{"id": "bulb", "icons" : ["bulb_light_on","bulb_light_off"]},{"id": "thumb", "icons" : ["thumb_thumb_up","thumb_thumb_down"]},{"id": "tick", "icons" : ["tick_tick","tick_cross"]},{"id": "onoff", "icons" : ["onoff_clock","onoff_clock_red","onoff_add","onoff_delete"]},{"id": "money", "icons" : ["money_money","money_dollar","money_euro","money_pound","money_yen","money_coins","money_ruby"]},{"id": "chart", "icons" : ["chart_bar","chart_line","chart_curve","chart_pie","chart_organisation"]},]
mindplot.ImageIcon.prototype.ICON_FAMILIES = [{"id": "flag", "icons" : ["flag_blue","flag_green","flag_orange","flag_pink","flag_purple","flag_yellow"]},{"id": "bullet", "icons" : ["bullet_black","bullet_blue","bullet_green","bullet_orange","bullet_red","bullet_pink","bullet_purple"]},{"id": "tag", "icons" : ["tag_blue","tag_green","tag_orange","tag_red","tag_pink","tag_yellow"]},{"id": "face", "icons" : ["face_plain","face_sad","face_crying","face_smile","face_surprise","face_wink"]},{"id": "funy", "icons" : ["funy_angel","funy_devilish","funy_glasses","funy_grin","funy_kiss","funy_monkey"]},{"id": "arrow", "icons" : ["arrow_up","arrow_down","arrow_left","arrow_right"]},{"id": "arrowc", "icons" : ["arrowc_rotate_anticlockwise","arrowc_rotate_clockwise","arrowc_turn_left","arrowc_turn_right"]},{"id": "conn", "icons" : ["conn_connect","conn_disconnect"]},{"id": "sport", "icons" : ["sport_basketball","sport_football","sport_golf","sport_raquet","sport_shuttlecock","sport_soccer","sport_tennis"]},{"id": "bulb", "icons" : ["bulb_light_on","bulb_light_off"]},{"id": "thumb", "icons" : ["thumb_thumb_up","thumb_thumb_down"]},{"id": "tick", "icons" : ["tick_tick","tick_cross"]},{"id": "onoff", "icons" : ["onoff_clock","onoff_clock_red","onoff_add","onoff_delete"]},{"id": "money", "icons" : ["money_money","money_dollar","money_euro","money_pound","money_yen","money_coins","money_ruby"]},{"id": "time", "icons" : ["time_calendar","time_clock","time_hourglass"]},{"id": "chart", "icons" : ["chart_bar","chart_line","chart_curve","chart_pie","chart_organisation"]},{"id": "sign", "icons" : ["sign_warning","sign_info","sign_stop","sign_help","sign_cancel"]},{"id": "mail", "icons" : ["mail_envelop","mail_mailbox","mail_edit"]},{"id": "object", "icons" : ["object_penguin","object_bell","object_clanbomber","object_key","object_pencil","object_phone","object_magnifier","object_clip","object_music","object_cd","object_star","object_wizard","object_house"]}]

View File

@ -52,9 +52,17 @@ final public class FreemindIconConverter {
static { static {
// Map numbers icons family ... // By default, do a default mapping of all. The overwrite.
final List<MindmapIcon> bulletsImages = MindmapIcons.getIconByFamily(IconFamily.BULLET); IconFamily[] families = IconFamily.values();
for (IconFamily family : families) {
final List<MindmapIcon> images = MindmapIcons.getIconByFamily(family);
for (MindmapIcon mindmapIcon : images) {
iconToFreeId.put(mindmapIcon, mindmapIcon.getName());
}
}
// Now overwrite that are different ...
final List<MindmapIcon> bulletsImages = MindmapIcons.getIconByFamily(IconFamily.BULLET);
for (int i = 0; i < bulletsImages.size(); i++) { for (int i = 0; i < bulletsImages.size(); i++) {
final MindmapIcon icon = bulletsImages.get(i); final MindmapIcon icon = bulletsImages.get(i);
iconToFreeId.put(icon, "full-" + i); iconToFreeId.put(icon, "full-" + i);
@ -66,8 +74,6 @@ final public class FreemindIconConverter {
iconToFreeId.put(MindmapIcons.TICK_CROSS, "button_cancel"); iconToFreeId.put(MindmapIcons.TICK_CROSS, "button_cancel");
// Map arrow icons ... // Map arrow icons ...
iconToFreeId.put(MindmapIcons.ARROW_UP, "up");
iconToFreeId.put(MindmapIcons.ARROW_DOWN, "down");
iconToFreeId.put(MindmapIcons.ARROW_RIGHT, "back"); iconToFreeId.put(MindmapIcons.ARROW_RIGHT, "back");
iconToFreeId.put(MindmapIcons.ARROW_LEFT, "forward"); iconToFreeId.put(MindmapIcons.ARROW_LEFT, "forward");
@ -77,6 +83,23 @@ final public class FreemindIconConverter {
iconToFreeId.put(MindmapIcons.FACE_SURPRISE, "smiley-oh"); iconToFreeId.put(MindmapIcons.FACE_SURPRISE, "smiley-oh");
iconToFreeId.put(MindmapIcons.FACE_SAD, "smiley_bad"); iconToFreeId.put(MindmapIcons.FACE_SAD, "smiley_bad");
// Objects mappings
iconToFreeId.put(MindmapIcons.OBJECT_KEY, "password");
iconToFreeId.put(MindmapIcons.OBJECT_PHONE, "kaddressbook");
iconToFreeId.put(MindmapIcons.OBJECT_STAR, "bookmark");
iconToFreeId.put(MindmapIcons.OBJECT_MAGNIFIER, "xmag");
iconToFreeId.put(MindmapIcons.OBJECT_CLIP, "attach");
iconToFreeId.put(MindmapIcons.OBJECT_MUSIC, "knotify");
iconToFreeId.put(MindmapIcons.OBJECT_HOUSE, "gohome");
// Sign mapping ...
iconToFreeId.put(MindmapIcons.SIGN_WARNING, "messagebox_warning");
iconToFreeId.put(MindmapIcons.SIGN_STOP, "stop-sign");
// Mail mappings
iconToFreeId.put(MindmapIcons.MAIL_ENVELOP, "Mail");
iconToFreeId.put(MindmapIcons.MAIL_MAILBOX, "korn");
// Maps Flag familly Icons ... // Maps Flag familly Icons ...
final List<MindmapIcon> flagImages = MindmapIcons.getIconByFamily(IconFamily.FLAG); final List<MindmapIcon> flagImages = MindmapIcons.getIconByFamily(IconFamily.FLAG);

View File

@ -19,20 +19,24 @@
package com.wisemapping.model; package com.wisemapping.model;
public enum IconFamily { public enum IconFamily {
FLAG(), FLAG,
BULLET(), BULLET,
TAG(), TAG,
// NUMBER("NUMBER","number_"), // NUMBER("NUMBER","number_"),
FACE(), FACE,
FUNY(), FUNY,
ARROW(), ARROW,
ARROWC(), ARROWC,
CONN(), CONN,
BULB(), SPORT,
THUMB(), BULB,
TICK(), THUMB,
ONOFF(), TICK,
MONEY(), ONOFF,
CHART(); MONEY,
TIME,
CHART,
SIGN,
MAIL,
OBJECT;
} }

View File

@ -24,7 +24,7 @@ import java.lang.IllegalStateException;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.util.*; import java.util.*;
@SuppressWarnings("all")
public class MindmapIcons { public class MindmapIcons {
private static Map<IconFamily, List<MindmapIcon>> iconsByFamily; private static Map<IconFamily, List<MindmapIcon>> iconsByFamily;
@ -123,6 +123,43 @@ public class MindmapIcons {
public static final MindmapIcon MONEY_CONNECT = new MindmapIcon(IconFamily.CONN, "connect"); public static final MindmapIcon MONEY_CONNECT = new MindmapIcon(IconFamily.CONN, "connect");
public static final MindmapIcon MONEY_DISCONNECT = new MindmapIcon(IconFamily.CONN, "disconnect"); public static final MindmapIcon MONEY_DISCONNECT = new MindmapIcon(IconFamily.CONN, "disconnect");
public static final MindmapIcon SPORT_BASKETBALL = new MindmapIcon(IconFamily.SPORT, "basketball");
public static final MindmapIcon SPORT_FOOTBALL = new MindmapIcon(IconFamily.SPORT, "football");
public static final MindmapIcon SPORT_GOLF = new MindmapIcon(IconFamily.SPORT, "golf");
public static final MindmapIcon SPORT_RAQUET = new MindmapIcon(IconFamily.SPORT, "raquet");
public static final MindmapIcon SPORT_SHUTTLECLOCK = new MindmapIcon(IconFamily.SPORT, "shuttlecock");
public static final MindmapIcon SPORT_SOURCE = new MindmapIcon(IconFamily.SPORT, "soccer");
public static final MindmapIcon SPORT_TENNIS = new MindmapIcon(IconFamily.SPORT, "tennis");
public static final MindmapIcon TIME_CALENDAR = new MindmapIcon(IconFamily.TIME, "calendar");
public static final MindmapIcon TIME_CLOCK = new MindmapIcon(IconFamily.TIME, "clock");
public static final MindmapIcon TIME_HOURGLASS = new MindmapIcon(IconFamily.TIME, "hourglass");
public static final MindmapIcon OBJECT_PENGUIN = new MindmapIcon(IconFamily.OBJECT, "penguin");
public static final MindmapIcon OBJECT_BELL = new MindmapIcon(IconFamily.OBJECT, "bell");
public static final MindmapIcon OBJECT_BOMB = new MindmapIcon(IconFamily.OBJECT, "clanbomber");
public static final MindmapIcon OBJECT_KEY = new MindmapIcon(IconFamily.OBJECT, "key");
public static final MindmapIcon OBJECT_PENCIL = new MindmapIcon(IconFamily.OBJECT, "pencil");
public static final MindmapIcon OBJECT_PHONE = new MindmapIcon(IconFamily.OBJECT, "phone");
public static final MindmapIcon OBJECT_MAGNIFIER = new MindmapIcon(IconFamily.OBJECT, "magnifier");
public static final MindmapIcon OBJECT_CLIP = new MindmapIcon(IconFamily.OBJECT, "clip");
public static final MindmapIcon OBJECT_MUSIC = new MindmapIcon(IconFamily.OBJECT, "music");
public static final MindmapIcon OBJECT_CD = new MindmapIcon(IconFamily.OBJECT, "cd");
public static final MindmapIcon OBJECT_STAR = new MindmapIcon(IconFamily.OBJECT, "star");
public static final MindmapIcon OBJECT_WIZARD = new MindmapIcon(IconFamily.OBJECT, "wizard");
public static final MindmapIcon OBJECT_HOUSE = new MindmapIcon(IconFamily.OBJECT, "house");
public static final MindmapIcon MAIL_ENVELOP = new MindmapIcon(IconFamily.MAIL, "envelop");
public static final MindmapIcon MAIL_MAILBOX = new MindmapIcon(IconFamily.MAIL, "mailbox");
public static final MindmapIcon MAIL_EDIT = new MindmapIcon(IconFamily.MAIL, "edit");
public static final MindmapIcon SIGN_WARNING = new MindmapIcon(IconFamily.SIGN, "warning");
public static final MindmapIcon SIGN_INFO = new MindmapIcon(IconFamily.SIGN, "info");
public static final MindmapIcon SIGN_STOP = new MindmapIcon(IconFamily.SIGN, "stop");
public static final MindmapIcon SIGN_HELP = new MindmapIcon(IconFamily.SIGN, "help");
public static final MindmapIcon SIGN_CANCEL = new MindmapIcon(IconFamily.SIGN , "cancel");
@NotNull @NotNull
public static List<MindmapIcon> getIconByFamily(@NotNull IconFamily family) { public static List<MindmapIcon> getIconByFamily(@NotNull IconFamily family) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 880 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 555 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 B

View File

Before

Width:  |  Height:  |  Size: 666 B

After

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 875 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

View File

@ -457,7 +457,7 @@ function afterMindpotLibraryLoading()
} }
function buildIconChooser() { function buildIconChooser() {
var content = new Element('div').setStyles({width:230,height:240,padding:5}); var content = new Element('div').setStyles({width:330,height:340,padding:5});
var count = 0; var count = 0;
for (var i = 0; i < mindplot.ImageIcon.prototype.ICON_FAMILIES.length; i = i + 1) for (var i = 0; i < mindplot.ImageIcon.prototype.ICON_FAMILIES.length; i = i + 1)
{ {

View File

@ -1,154 +1,232 @@
<map version="0.9.0"> <map version="0.9.0">
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net --> <!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
<node CREATED="1299957724614" ID="ID_1257555991" MODIFIED="1300660744042" TEXT="This is the root node"> <node CREATED="1299957724614" ID="ID_1257555991" MODIFIED="1300828347684" TEXT="This is the root node">
<node CREATED="1300659938246" ID="ID_1618158073" MODIFIED="1300660937537" POSITION="right" TEXT="Generic"> <node CREATED="1300659938246" ID="ID_1618158073" MODIFIED="1300831099321" POSITION="right" TEXT="Simbols">
<node CREATED="1300660056663" ID="ID_961003997" MODIFIED="1300660075006" TEXT="Warning"> <node CREATED="1300660056663" ID="ID_961003997" MODIFIED="1300660075006" TEXT="Warning">
<icon BUILTIN="messagebox_warning"/> <icon BUILTIN="messagebox_warning"/>
</node> </node>
<node CREATED="1300660121313" ID="ID_1919070075" MODIFIED="1300660919414" TEXT="No Ok"> <node CREATED="1300660121313" ID="ID_1919070075" MODIFIED="1300660919414" TEXT="No Ok">
<icon BUILTIN="button_cancel"/> <icon BUILTIN="button_cancel"/>
</node> </node>
<node CREATED="1300660114849" ID="ID_385678791" MODIFIED="1300660118492" TEXT="Ok"> <node CREATED="1300660114849" ID="ID_385678791" MODIFIED="1300660118492" TEXT="Ok">
<icon BUILTIN="button_ok"/> <icon BUILTIN="button_ok"/>
</node> </node>
<node CREATED="1300660105416" ID="ID_536737326" MODIFIED="1300660111692" TEXT="Info"> <node CREATED="1300660105416" ID="ID_536737326" MODIFIED="1300660111692" TEXT="Info">
<icon BUILTIN="info"/> <icon BUILTIN="info"/>
</node> </node>
<node CREATED="1300660094504" ID="ID_1595034059" MODIFIED="1300660104596" TEXT="No Entry"> <node CREATED="1300660094504" ID="ID_1595034059" MODIFIED="1300660104596" TEXT="No Entry">
<icon BUILTIN="closed"/> <icon BUILTIN="closed"/>
</node> </node>
<node CREATED="1300660080832" ID="ID_519232946" MODIFIED="1300660084598" TEXT="Stop"> <node CREATED="1300660080832" ID="ID_519232946" MODIFIED="1300660084598" TEXT="Stop">
<icon BUILTIN="stop-sign"/> <icon BUILTIN="stop-sign"/>
</node> </node>
<node CREATED="1300659964800" ID="ID_36013731" MODIFIED="1300660077693" TEXT="Lamp"> <node CREATED="1300659964800" ID="ID_36013731" MODIFIED="1300660077693" TEXT="Lamp">
<icon BUILTIN="idea"/> <icon BUILTIN="idea"/>
</node> </node>
<node CREATED="1300660027958" ID="ID_100611334" MODIFIED="1300660038050" TEXT="! Simbol"> <node CREATED="1300660027958" ID="ID_100611334" MODIFIED="1300660038050" TEXT="! Simbol">
<icon BUILTIN="yes"/> <icon BUILTIN="yes"/>
</node> </node>
<node CREATED="1300659989128" ID="ID_513620588" MODIFIED="1300660000320" TEXT="Question Mark"> <node CREATED="1300659989128" ID="ID_513620588" MODIFIED="1300660000320" TEXT="Question Mark">
<icon BUILTIN="help"/> <icon BUILTIN="help"/>
</node> </node>
</node> </node>
<node CREATED="1300660131953" ID="ID_203319573" MODIFIED="1300660909665" POSITION="left" TEXT="Numbers"> <node CREATED="1300660131953" FOLDED="true" ID="ID_203319573" MODIFIED="1300828082156" POSITION="left" TEXT="Numbers">
<node CREATED="1300660197527" ID="ID_353096125" MODIFIED="1300660219127" TEXT="1"> <node CREATED="1300660197527" ID="ID_353096125" MODIFIED="1300660219127" TEXT="1">
<icon BUILTIN="full-1"/> <icon BUILTIN="full-1"/>
</node> </node>
<node CREATED="1300660201891" ID="ID_649422103" MODIFIED="1300660220992" TEXT="2"> <node CREATED="1300660201891" ID="ID_649422103" MODIFIED="1300660220992" TEXT="2">
<icon BUILTIN="full-2"/> <icon BUILTIN="full-2"/>
</node> </node>
<node CREATED="1300660203259" ID="ID_1965971423" MODIFIED="1300660222752" TEXT="3"> <node CREATED="1300660203259" ID="ID_1965971423" MODIFIED="1300660222752" TEXT="3">
<icon BUILTIN="full-3"/> <icon BUILTIN="full-3"/>
</node> </node>
<node CREATED="1300660204283" ID="ID_65578210" MODIFIED="1300660224600" TEXT="4"> <node CREATED="1300660204283" ID="ID_65578210" MODIFIED="1300660224600" TEXT="4">
<icon BUILTIN="full-4"/> <icon BUILTIN="full-4"/>
</node> </node>
<node CREATED="1300660207579" ID="ID_882889151" MODIFIED="1300660227168" TEXT="5"> <node CREATED="1300660207579" ID="ID_882889151" MODIFIED="1300660227168" TEXT="5">
<icon BUILTIN="full-5"/> <icon BUILTIN="full-5"/>
</node> </node>
<node CREATED="1300660209044" ID="ID_162668441" MODIFIED="1300660244000" TEXT="6"> <node CREATED="1300660209044" ID="ID_162668441" MODIFIED="1300660244000" TEXT="6">
<icon BUILTIN="full-6"/> <icon BUILTIN="full-6"/>
</node> </node>
<node CREATED="1300660210444" ID="ID_150658010" MODIFIED="1300660231496" TEXT="7"> <node CREATED="1300660210444" ID="ID_150658010" MODIFIED="1300660231496" TEXT="7">
<icon BUILTIN="full-7"/> <icon BUILTIN="full-7"/>
</node> </node>
<node CREATED="1300660211755" ID="ID_197256381" MODIFIED="1300660250801" TEXT="8"> <node CREATED="1300660211755" ID="ID_197256381" MODIFIED="1300660250801" TEXT="8">
<icon BUILTIN="full-8"/> <icon BUILTIN="full-8"/>
</node> </node>
<node CREATED="1300660212972" ID="ID_1862446262" MODIFIED="1300660253945" TEXT="9"> <node CREATED="1300660212972" ID="ID_1862446262" MODIFIED="1300660253945" TEXT="9">
<icon BUILTIN="full-9"/> <icon BUILTIN="full-9"/>
</node> </node>
<node CREATED="1300660215412" ID="ID_1339894565" MODIFIED="1300660256144" TEXT="0"> <node CREATED="1300660215412" ID="ID_1339894565" MODIFIED="1300660256144" TEXT="0">
<icon BUILTIN="full-0"/> <icon BUILTIN="full-0"/>
</node> </node>
</node> </node>
<node CREATED="1300660263713" ID="ID_197980041" MODIFIED="1300660854307" POSITION="right" TEXT="Trafic"> <node CREATED="1300660263713" ID="ID_197980041" MODIFIED="1300660854307" POSITION="right" TEXT="Trafic">
<node CREATED="1300660289578" ID="ID_1342690461" MODIFIED="1300660304466" TEXT="Read"> <node CREATED="1300660289578" ID="ID_1342690461" MODIFIED="1300660304466" TEXT="Read">
<icon BUILTIN="stop"/> <icon BUILTIN="stop"/>
</node> </node>
<node CREATED="1300660293382" ID="ID_1249604240" MODIFIED="1300660307154" TEXT="Green"> <node CREATED="1300660293382" ID="ID_1249604240" MODIFIED="1300660307154" TEXT="Green">
<icon BUILTIN="go"/> <icon BUILTIN="go"/>
</node> </node>
<node CREATED="1300660298502" ID="ID_325749572" MODIFIED="1300660309546" TEXT="Yellow"> <node CREATED="1300660298502" ID="ID_325749572" MODIFIED="1300660309546" TEXT="Yellow">
<icon BUILTIN="prepare"/> <icon BUILTIN="prepare"/>
</node> </node>
</node> </node>
<node CREATED="1300660363350" ID="ID_1671979095" MODIFIED="1300660859865" POSITION="left" TEXT="Arrow"> <node CREATED="1300660363350" FOLDED="true" ID="ID_1671979095" MODIFIED="1300828061587" POSITION="left" TEXT="Arrow">
<node CREATED="1300660376350" ID="ID_1037071455" MODIFIED="1300660442346" TEXT="Back"> <node CREATED="1300660376350" ID="ID_1037071455" MODIFIED="1300660442346" TEXT="Back">
<icon BUILTIN="back"/> <icon BUILTIN="back"/>
</node> </node>
<node CREATED="1300660380251" ID="ID_388014179" MODIFIED="1300660444826" TEXT="Forward"> <node CREATED="1300660380251" ID="ID_388014179" MODIFIED="1300660444826" TEXT="Forward">
<icon BUILTIN="forward"/> <icon BUILTIN="forward"/>
</node> </node>
<node CREATED="1300660390307" ID="ID_898943058" MODIFIED="1300660458834" TEXT="Up"> <node CREATED="1300660390307" ID="ID_898943058" MODIFIED="1300660458834" TEXT="Up">
<icon BUILTIN="up"/> <icon BUILTIN="up"/>
</node> </node>
<node CREATED="1300660397595" ID="ID_546551064" MODIFIED="1300660460954" TEXT="Down"> <node CREATED="1300660397595" ID="ID_546551064" MODIFIED="1300660460954" TEXT="Down">
<icon BUILTIN="down"/> <icon BUILTIN="down"/>
</node> </node>
</node> </node>
<node CREATED="1300660467186" ID="ID_1434576243" MODIFIED="1300660838314" POSITION="right" TEXT="Smiles"> <node CREATED="1300660467186" FOLDED="true" ID="ID_1434576243" MODIFIED="1300828047646" POSITION="right" TEXT="Smiles">
<node CREATED="1300660494515" ID="ID_349071168" MODIFIED="1300660499857" TEXT="Smile"> <node CREATED="1300660494515" ID="ID_349071168" MODIFIED="1300660499857" TEXT="Smile">
<icon BUILTIN="ksmiletris"/> <icon BUILTIN="ksmiletris"/>
</node> </node>
<node CREATED="1300660505665" ID="ID_1127705003" MODIFIED="1300660509580" TEXT="No Mind"> <node CREATED="1300660505665" ID="ID_1127705003" MODIFIED="1300660509580" TEXT="No Mind">
<icon BUILTIN="smiley-neutral"/> <icon BUILTIN="smiley-neutral"/>
</node> </node>
<node CREATED="1300660512160" ID="ID_1170321075" MODIFIED="1300660518107" TEXT="Surprise"> <node CREATED="1300660512160" ID="ID_1170321075" MODIFIED="1300660518107" TEXT="Surprise">
<icon BUILTIN="smiley-oh"/> <icon BUILTIN="smiley-oh"/>
</node> </node>
<node CREATED="1300660567710" ID="ID_1669610958" MODIFIED="1300660571241" TEXT="Sad"> <node CREATED="1300660567710" ID="ID_1669610958" MODIFIED="1300660571241" TEXT="Sad">
<icon BUILTIN="smily_bad"/> <icon BUILTIN="smily_bad"/>
</node> </node>
<node CREATED="1300660520745" ID="ID_481380867" MODIFIED="1300660554176" TEXT="Angry"> <node CREATED="1300660520745" ID="ID_481380867" MODIFIED="1300660554176" TEXT="Angry">
<icon BUILTIN="smiley-angry"/> <icon BUILTIN="smiley-angry"/>
</node> </node>
</node> </node>
<node CREATED="1300660597562" ID="ID_583705804" MODIFIED="1300660902560" POSITION="left" TEXT="People"> <node CREATED="1300660597562" FOLDED="true" ID="ID_583705804" MODIFIED="1300828058411" POSITION="left" TEXT="People">
<node CREATED="1300660622507" ID="ID_294818765" MODIFIED="1300660662564" TEXT="Family"> <node CREATED="1300660622507" ID="ID_294818765" MODIFIED="1300660662564" TEXT="Family">
<icon BUILTIN="family"/> <icon BUILTIN="family"/>
</node> </node>
<node CREATED="1300660625399" ID="ID_46082137" MODIFIED="1300660664564" TEXT="Female1"> <node CREATED="1300660625399" ID="ID_46082137" MODIFIED="1300660664564" TEXT="Female1">
<icon BUILTIN="female1"/> <icon BUILTIN="female1"/>
</node> </node>
<node CREATED="1300660634480" ID="ID_786003255" MODIFIED="1300660666444" TEXT="Female2"> <node CREATED="1300660634480" ID="ID_786003255" MODIFIED="1300660666444" TEXT="Female2">
<icon BUILTIN="female2"/> <icon BUILTIN="female2"/>
</node> </node>
<node CREATED="1300660641600" ID="ID_392270042" MODIFIED="1300660671564" TEXT="Male1"> <node CREATED="1300660641600" ID="ID_392270042" MODIFIED="1300660671564" TEXT="Male1">
<icon BUILTIN="male1"/> <icon BUILTIN="male1"/>
</node> </node>
<node CREATED="1300660644944" ID="ID_92348291" MODIFIED="1300660675052" TEXT="Male2"> <node CREATED="1300660644944" ID="ID_92348291" MODIFIED="1300660675052" TEXT="Male2">
<icon BUILTIN="male2"/> <icon BUILTIN="male2"/>
</node> </node>
<node CREATED="1300660650968" ID="ID_1227722053" MODIFIED="1300660676884" TEXT="Females"> <node CREATED="1300660650968" ID="ID_1227722053" MODIFIED="1300660676884" TEXT="Females">
<icon BUILTIN="fema"/> <icon BUILTIN="fema"/>
</node> </node>
<node CREATED="1300660656568" ID="ID_1783798935" MODIFIED="1300660678876" TEXT="Group"> <node CREATED="1300660656568" ID="ID_1783798935" MODIFIED="1300660678876" TEXT="Group">
<icon BUILTIN="group"/> <icon BUILTIN="group"/>
</node> </node>
</node> </node>
<node CREATED="1300660683137" ID="ID_1619225504" MODIFIED="1300660705976" POSITION="right" TEXT="Flags"> <node CREATED="1300660683137" FOLDED="true" ID="ID_1619225504" MODIFIED="1300828049179" POSITION="right" TEXT="Flags">
<node CREATED="1300660751347" ID="ID_899824007" MODIFIED="1300660802509" TEXT="Black"> <node CREATED="1300660751347" ID="ID_899824007" MODIFIED="1300660802509" TEXT="Black">
<icon BUILTIN="flag-black"/> <icon BUILTIN="flag-black"/>
</node> </node>
<node CREATED="1300660762839" ID="ID_1430693413" MODIFIED="1300660805796" TEXT="Blue"> <node CREATED="1300660762839" ID="ID_1430693413" MODIFIED="1300660805796" TEXT="Blue">
<icon BUILTIN="flag-blue"/> <icon BUILTIN="flag-blue"/>
</node> </node>
<node CREATED="1300660779616" ID="ID_1301775448" MODIFIED="1300660809044" TEXT="Green"> <node CREATED="1300660779616" ID="ID_1301775448" MODIFIED="1300660809044" TEXT="Green">
<icon BUILTIN="flag-green"/> <icon BUILTIN="flag-green"/>
</node> </node>
<node CREATED="1300660785192" ID="ID_252960302" MODIFIED="1300660816997" TEXT="Orange"> <node CREATED="1300660785192" ID="ID_252960302" MODIFIED="1300660816997" TEXT="Orange">
<icon BUILTIN="flag-orange"/> <icon BUILTIN="flag-orange"/>
</node> </node>
<node CREATED="1300660789768" ID="ID_511443357" MODIFIED="1300660820453" TEXT="Pink"> <node CREATED="1300660789768" ID="ID_511443357" MODIFIED="1300660820453" TEXT="Pink">
<icon BUILTIN="flag-pink"/> <icon BUILTIN="flag-pink"/>
</node> </node>
<node CREATED="1300660795753" ID="ID_1392758100" MODIFIED="1300660824549" TEXT="Red"> <node CREATED="1300660795753" ID="ID_1392758100" MODIFIED="1300660824549" TEXT="Red">
<icon BUILTIN="flag"/> <icon BUILTIN="flag"/>
</node> </node>
<node CREATED="1300660797841" ID="ID_1505526545" MODIFIED="1300660827093" TEXT="Yellow"> <node CREATED="1300660797841" ID="ID_1505526545" MODIFIED="1300660827093" TEXT="Yellow">
<icon BUILTIN="flag-yellow"/> <icon BUILTIN="flag-yellow"/>
</node> </node>
</node> </node>
</node> <node CREATED="1300828084660" FOLDED="true" ID="ID_391197891" MODIFIED="1300830689202" POSITION="left" TEXT="Time">
<node CREATED="1300828091916" ID="ID_770664966" MODIFIED="1300828135503" TEXT="Calendar">
<icon BUILTIN="calendar"/>
</node>
<node CREATED="1300828110433" ID="ID_736249350" MODIFIED="1300828540805" TEXT="Digial Clock">
<icon BUILTIN="clock"/>
</node>
<node CREATED="1300828116634" ID="ID_1162505028" MODIFIED="1300828144007" TEXT="Hourglass">
<icon BUILTIN="hourglass"/>
</node>
</node>
<node CREATED="1300828147951" ID="ID_410559475" MODIFIED="1300828424191" POSITION="right" TEXT="Suff">
<node CREATED="1300828154623" ID="ID_229744356" MODIFIED="1300828161774" TEXT="Broken">
<icon BUILTIN="broken-line"/>
</node>
<node CREATED="1300828164540" ID="ID_528296821" MODIFIED="1300828173592" TEXT="WiseIcon">
<icon BUILTIN="freemind_butterfly"/>
</node>
<node CREATED="1300828174052" ID="ID_1033974183" MODIFIED="1300828192209" TEXT="ICQ/Flower">
<icon BUILTIN="licq"/>
</node>
<node CREATED="1300828182549" ID="ID_481926172" MODIFIED="1300828194721" TEXT="Linux/Pinguin">
<icon BUILTIN="penguin"/>
</node>
<node CREATED="1300828195990" ID="ID_426547583" MODIFIED="1300828199362" TEXT="Star">
<icon BUILTIN="bookmark"/>
</node>
<node CREATED="1300828202054" ID="ID_1689075455" MODIFIED="1300828205254" TEXT="Reminder">
<icon BUILTIN="bell"/>
</node>
<node CREATED="1300828205982" ID="ID_494454650" MODIFIED="1300828212556" TEXT="Zoom">
<icon BUILTIN="xmag"/>
</node>
<node CREATED="1300828220487" ID="ID_1917181662" MODIFIED="1300828223539" TEXT="Magic">
<icon BUILTIN="wizard"/>
</node>
<node CREATED="1300828224471" ID="ID_1948005716" MODIFIED="1300828235896" TEXT="Music">
<icon BUILTIN="knotify"/>
</node>
<node CREATED="1300828236536" ID="ID_23374194" MODIFIED="1300828240361" TEXT="Pen">
<icon BUILTIN="pencil"/>
</node>
<node CREATED="1300828241088" ID="ID_784977891" MODIFIED="1300828244732" TEXT="Key">
<icon BUILTIN="password"/>
</node>
<node CREATED="1300828258505" ID="ID_1477575369" MODIFIED="1300828570231" TEXT="House">
<icon BUILTIN="gohome"/>
</node>
<node CREATED="1300828599210" ID="ID_1236132939" MODIFIED="1300828602518" TEXT="Phone">
<icon BUILTIN="kaddressbook"/>
</node>
<node CREATED="1300828272306" ID="ID_1455526374" MODIFIED="1300828277973" TEXT="Do not Forget">
<icon BUILTIN="desktop_new"/>
</node>
<node CREATED="1300828279770" ID="ID_1012304634" MODIFIED="1300828282758" TEXT="Bomb">
<icon BUILTIN="clanbomber"/>
</node>
<node CREATED="1300828283914" ID="ID_1227493833" MODIFIED="1300828287366" TEXT="Clip">
<icon BUILTIN="attach"/>
</node>
</node>
<node CREATED="1300828348057" ID="ID_1323505920" MODIFIED="1300828474219" POSITION="left" TEXT="Mail">
<node CREATED="1300828369060" ID="ID_1072754999" MODIFIED="1300828375687" TEXT="Envelop">
<icon BUILTIN="Mail"/>
</node>
<node CREATED="1300828376049" ID="ID_894278890" MODIFIED="1300828387511" TEXT="E-Mail">
<icon BUILTIN="kmail"/>
</node>
<node CREATED="1300828491559" ID="ID_1729304522" MODIFIED="1300828494651" TEXT="List">
<icon BUILTIN="list"/>
</node>
<node CREATED="1300828497711" ID="ID_206305691" MODIFIED="1300828507771" TEXT="Refine">
<icon BUILTIN="edit"/>
</node>
<node CREATED="1300828388722" ID="ID_1685481775" MODIFIED="1300828400078" TEXT="Mailbox">
<icon BUILTIN="korn"/>
</node>
</node>
</node>
</map> </map>

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@ import java.util.List;
@Test @Test
public class IconsTest { public class IconsTest {
final private static String CURRENT_JSON_ICONS = "[{\"id\": \"flag\", \"icons\" : [\"flag_blue\",\"flag_green\",\"flag_orange\",\"flag_pink\",\"flag_purple\",\"flag_yellow\"]},{\"id\": \"bullet\", \"icons\" : [\"bullet_black\",\"bullet_blue\",\"bullet_green\",\"bullet_orange\",\"bullet_red\",\"bullet_pink\",\"bullet_purple\"]},{\"id\": \"tag\", \"icons\" : [\"tag_blue\",\"tag_green\",\"tag_orange\",\"tag_red\",\"tag_pink\",\"tag_yellow\"]},{\"id\": \"face\", \"icons\" : [\"face_plain\",\"face_sad\",\"face_crying\",\"face_smile\",\"face_surprise\",\"face_wink\"]},{\"id\": \"funy\", \"icons\" : [\"funy_angel\",\"funy_devilish\",\"funy_glasses\",\"funy_grin\",\"funy_kiss\",\"funy_monkey\"]},{\"id\": \"arrow\", \"icons\" : [\"arrow_up\",\"arrow_down\",\"arrow_left\",\"arrow_right\"]},{\"id\": \"arrowc\", \"icons\" : [\"arrowc_rotate_anticlockwise\",\"arrowc_rotate_clockwise\",\"arrowc_turn_left\",\"arrowc_turn_right\"]},{\"id\": \"conn\", \"icons\" : [\"conn_connect\",\"conn_disconnect\"]},{\"id\": \"bulb\", \"icons\" : [\"bulb_light_on\",\"bulb_light_off\"]},{\"id\": \"thumb\", \"icons\" : [\"thumb_thumb_up\",\"thumb_thumb_down\"]},{\"id\": \"tick\", \"icons\" : [\"tick_tick\",\"tick_cross\"]},{\"id\": \"onoff\", \"icons\" : [\"onoff_clock\",\"onoff_clock_red\",\"onoff_add\",\"onoff_delete\"]},{\"id\": \"money\", \"icons\" : [\"money_money\",\"money_dollar\",\"money_euro\",\"money_pound\",\"money_yen\",\"money_coins\",\"money_ruby\"]},{\"id\": \"chart\", \"icons\" : [\"chart_bar\",\"chart_line\",\"chart_curve\",\"chart_pie\",\"chart_organisation\"]},]"; final private static String CURRENT_JSON_ICONS = "[{\"id\": \"flag\", \"icons\" : [\"flag_blue\",\"flag_green\",\"flag_orange\",\"flag_pink\",\"flag_purple\",\"flag_yellow\"]},{\"id\": \"bullet\", \"icons\" : [\"bullet_black\",\"bullet_blue\",\"bullet_green\",\"bullet_orange\",\"bullet_red\",\"bullet_pink\",\"bullet_purple\"]},{\"id\": \"tag\", \"icons\" : [\"tag_blue\",\"tag_green\",\"tag_orange\",\"tag_red\",\"tag_pink\",\"tag_yellow\"]},{\"id\": \"face\", \"icons\" : [\"face_plain\",\"face_sad\",\"face_crying\",\"face_smile\",\"face_surprise\",\"face_wink\"]},{\"id\": \"funy\", \"icons\" : [\"funy_angel\",\"funy_devilish\",\"funy_glasses\",\"funy_grin\",\"funy_kiss\",\"funy_monkey\"]},{\"id\": \"arrow\", \"icons\" : [\"arrow_up\",\"arrow_down\",\"arrow_left\",\"arrow_right\"]},{\"id\": \"arrowc\", \"icons\" : [\"arrowc_rotate_anticlockwise\",\"arrowc_rotate_clockwise\",\"arrowc_turn_left\",\"arrowc_turn_right\"]},{\"id\": \"conn\", \"icons\" : [\"conn_connect\",\"conn_disconnect\"]},{\"id\": \"sport\", \"icons\" : [\"sport_basketball\",\"sport_football\",\"sport_golf\",\"sport_raquet\",\"sport_shuttlecock\",\"sport_soccer\",\"sport_tennis\"]},{\"id\": \"bulb\", \"icons\" : [\"bulb_light_on\",\"bulb_light_off\"]},{\"id\": \"thumb\", \"icons\" : [\"thumb_thumb_up\",\"thumb_thumb_down\"]},{\"id\": \"tick\", \"icons\" : [\"tick_tick\",\"tick_cross\"]},{\"id\": \"onoff\", \"icons\" : [\"onoff_clock\",\"onoff_clock_red\",\"onoff_add\",\"onoff_delete\"]},{\"id\": \"money\", \"icons\" : [\"money_money\",\"money_dollar\",\"money_euro\",\"money_pound\",\"money_yen\",\"money_coins\",\"money_ruby\"]},{\"id\": \"time\", \"icons\" : [\"time_calendar\",\"time_clock\",\"time_hourglass\"]},{\"id\": \"chart\", \"icons\" : [\"chart_bar\",\"chart_line\",\"chart_curve\",\"chart_pie\",\"chart_organisation\"]},{\"id\": \"sign\", \"icons\" : [\"sign_warning\",\"sign_info\",\"sign_stop\",\"sign_help\",\"sign_cancel\"]},{\"id\": \"mail\", \"icons\" : [\"mail_envelop\",\"mail_mailbox\",\"mail_edit\"]},{\"id\": \"object\", \"icons\" : [\"object_penguin\",\"object_bell\",\"object_clanbomber\",\"object_key\",\"object_pencil\",\"object_phone\",\"object_magnifier\",\"object_clip\",\"object_music\",\"object_cd\",\"object_star\",\"object_wizard\",\"object_house\"]},]";
@Test @Test
void checkImagesByFamily() throws IllegalAccessException { void checkImagesByFamily() throws IllegalAccessException {