Ejemplo n.º 1
0
 @Override
 public void run() {
   messagesViewer.setShowFileNameOnly(isChecked());
 }
Ejemplo n.º 2
0
 public ShowFileNameOnlyAction(MessagesViewer messagesViewer) {
   super(ActionsMessages.ShowFileNameOnlyAction_text, AS_CHECK_BOX);
   this.messagesViewer = messagesViewer;
   setToolTipText(ActionsMessages.ShowFileNameOnlyAction_tooltip);
   setChecked(messagesViewer.getShowFileNameOnly());
 }