final ModeController modeController = Controller.getCurrentModeController();
ArrayList<IIconInformation> actions = new ArrayList<IIconInformation>();
final Controller controller = Controller.getCurrentController();
final MapModel map = controller.getMap();
final IconRegistry iconRegistry = map.getIconRegistry();
final ListModel usedIcons = iconRegistry.getIconsAsListModel();
for(int i = 0; i < usedIcons.getSize(); i++){
final Object icon = usedIcons.getElementAt(i);
if(icon instanceof MindIcon){
actions.add(new IconAction((MindIcon) icon));
}