/** Constructs a normal PauseAction */ PauseAction() { putValue(NAME, tr("Pause")); putValue(SHORT_DESCRIPTION, tr("Pauses the walk.")); new ImageProvider("dialogs/mapillaryPause.png").getResource().attachImageIcon(this, true); MapillaryPlugin.getWalkAction().addListener(this); }
/** Constructs a normal PlayAction */ PlayAction() { putValue(NAME, tr("Play")); putValue(SHORT_DESCRIPTION, tr("Continues with the paused walk.")); new ImageProvider("dialogs/mapillaryPlay.png").getResource().attachImageIcon(this, true); MapillaryPlugin.getWalkAction().addListener(this); }