Пример #1
0
 @Override
 public void run() {
   messagesViewer.setShowFileNameOnly(isChecked());
 }
Пример #2
0
 public ShowFileNameOnlyAction(MessagesViewer messagesViewer) {
   super(ActionsMessages.ShowFileNameOnlyAction_text, AS_CHECK_BOX);
   this.messagesViewer = messagesViewer;
   setToolTipText(ActionsMessages.ShowFileNameOnlyAction_tooltip);
   setChecked(messagesViewer.getShowFileNameOnly());
 }