コード例 #1
0
 /** 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);
 }
コード例 #2
0
 /** 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);
 }