Add more and more icons...
@@ -52,9 +52,17 @@ final public class FreemindIconConverter {
|
||||
|
||||
static {
|
||||
|
||||
// Map numbers icons family ...
|
||||
final List<MindmapIcon> bulletsImages = MindmapIcons.getIconByFamily(IconFamily.BULLET);
|
||||
// By default, do a default mapping of all. The overwrite.
|
||||
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++) {
|
||||
final MindmapIcon icon = bulletsImages.get(i);
|
||||
iconToFreeId.put(icon, "full-" + i);
|
||||
@@ -66,8 +74,6 @@ final public class FreemindIconConverter {
|
||||
iconToFreeId.put(MindmapIcons.TICK_CROSS, "button_cancel");
|
||||
|
||||
// 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_LEFT, "forward");
|
||||
|
||||
@@ -77,6 +83,23 @@ final public class FreemindIconConverter {
|
||||
iconToFreeId.put(MindmapIcons.FACE_SURPRISE, "smiley-oh");
|
||||
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 ...
|
||||
final List<MindmapIcon> flagImages = MindmapIcons.getIconByFamily(IconFamily.FLAG);
|
||||
|
@@ -19,20 +19,24 @@
|
||||
package com.wisemapping.model;
|
||||
|
||||
public enum IconFamily {
|
||||
FLAG(),
|
||||
BULLET(),
|
||||
TAG(),
|
||||
FLAG,
|
||||
BULLET,
|
||||
TAG,
|
||||
// NUMBER("NUMBER","number_"),
|
||||
FACE(),
|
||||
FUNY(),
|
||||
ARROW(),
|
||||
ARROWC(),
|
||||
CONN(),
|
||||
BULB(),
|
||||
THUMB(),
|
||||
TICK(),
|
||||
ONOFF(),
|
||||
MONEY(),
|
||||
CHART();
|
||||
|
||||
FACE,
|
||||
FUNY,
|
||||
ARROW,
|
||||
ARROWC,
|
||||
CONN,
|
||||
SPORT,
|
||||
BULB,
|
||||
THUMB,
|
||||
TICK,
|
||||
ONOFF,
|
||||
MONEY,
|
||||
TIME,
|
||||
CHART,
|
||||
SIGN,
|
||||
MAIL,
|
||||
OBJECT;
|
||||
}
|
||||
|
@@ -24,7 +24,7 @@ import java.lang.IllegalStateException;
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.*;
|
||||
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public class MindmapIcons {
|
||||
|
||||
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_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
|
||||
public static List<MindmapIcon> getIconByFamily(@NotNull IconFamily family) {
|
||||
|
||||
|
BIN
wise-webapp/src/main/webapp/icons/mail_edit.png
Executable file
After Width: | Height: | Size: 880 B |
BIN
wise-webapp/src/main/webapp/icons/mail_envelop.png
Executable file
After Width: | Height: | Size: 641 B |
BIN
wise-webapp/src/main/webapp/icons/mail_mailbox.png
Executable file
After Width: | Height: | Size: 555 B |
BIN
wise-webapp/src/main/webapp/icons/object_bell.png
Executable file
After Width: | Height: | Size: 789 B |
BIN
wise-webapp/src/main/webapp/icons/object_cd.png
Executable file
After Width: | Height: | Size: 673 B |
BIN
wise-webapp/src/main/webapp/icons/object_clanbomber.png
Executable file
After Width: | Height: | Size: 793 B |
BIN
wise-webapp/src/main/webapp/icons/object_clip.png
Executable file
After Width: | Height: | Size: 391 B |
BIN
wise-webapp/src/main/webapp/icons/object_house.png
Executable file
After Width: | Height: | Size: 806 B |
BIN
wise-webapp/src/main/webapp/icons/object_key.png
Executable file
After Width: | Height: | Size: 612 B |
BIN
wise-webapp/src/main/webapp/icons/object_magnifier.png
Executable file
After Width: | Height: | Size: 615 B |
BIN
wise-webapp/src/main/webapp/icons/object_music.png
Executable file
After Width: | Height: | Size: 385 B |
BIN
wise-webapp/src/main/webapp/icons/object_pencil.png
Executable file
After Width: | Height: | Size: 450 B |
BIN
wise-webapp/src/main/webapp/icons/object_penguin.png
Executable file
After Width: | Height: | Size: 696 B |
BIN
wise-webapp/src/main/webapp/icons/object_phone.png
Executable file
After Width: | Height: | Size: 488 B |
BIN
wise-webapp/src/main/webapp/icons/object_star.png
Executable file
After Width: | Height: | Size: 670 B |
BIN
wise-webapp/src/main/webapp/icons/object_wizard.png
Executable file
After Width: | Height: | Size: 570 B |
BIN
wise-webapp/src/main/webapp/icons/sign_cancel.png
Executable file
After Width: | Height: | Size: 587 B |
BIN
wise-webapp/src/main/webapp/icons/sign_exclamation.png
Executable file
After Width: | Height: | Size: 701 B |
BIN
wise-webapp/src/main/webapp/icons/sign_help.png
Executable file
After Width: | Height: | Size: 786 B |
BIN
wise-webapp/src/main/webapp/icons/sign_info.png
Executable file
After Width: | Height: | Size: 778 B |
BIN
wise-webapp/src/main/webapp/icons/sign_stop.png
Executable file
After Width: | Height: | Size: 700 B |
0
wise-webapp/src/main/webapp/icons/waring_icon.png → wise-webapp/src/main/webapp/icons/sign_warning.png
Normal file → Executable file
Before Width: | Height: | Size: 666 B After Width: | Height: | Size: 666 B |
BIN
wise-webapp/src/main/webapp/icons/sport_basketball.png
Normal file
After Width: | Height: | Size: 977 B |
BIN
wise-webapp/src/main/webapp/icons/sport_football.png
Normal file
After Width: | Height: | Size: 875 B |
BIN
wise-webapp/src/main/webapp/icons/sport_golf.png
Normal file
After Width: | Height: | Size: 504 B |
BIN
wise-webapp/src/main/webapp/icons/sport_raquet.png
Normal file
After Width: | Height: | Size: 719 B |
BIN
wise-webapp/src/main/webapp/icons/sport_shuttlecock.png
Normal file
After Width: | Height: | Size: 683 B |
BIN
wise-webapp/src/main/webapp/icons/sport_soccer.png
Normal file
After Width: | Height: | Size: 517 B |
BIN
wise-webapp/src/main/webapp/icons/sport_tennis.png
Normal file
After Width: | Height: | Size: 884 B |
BIN
wise-webapp/src/main/webapp/icons/time_calendar.png
Executable file
After Width: | Height: | Size: 572 B |
BIN
wise-webapp/src/main/webapp/icons/time_clock.png
Executable file
After Width: | Height: | Size: 793 B |
BIN
wise-webapp/src/main/webapp/icons/time_hourglass.png
Executable file
After Width: | Height: | Size: 744 B |
@@ -457,7 +457,7 @@ function afterMindpotLibraryLoading()
|
||||
}
|
||||
|
||||
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;
|
||||
for (var i = 0; i < mindplot.ImageIcon.prototype.ICON_FAMILIES.length; i = i + 1)
|
||||
{
|
||||
|