Java 类com.intellij.openapi.actionSystem.TimerListener 实例源码

项目:intellij-ce-playground    文件:WeakTimerListener.java   
public ModalityState getModalityState() {
  TimerListener delegate = myRef.get();
  if (delegate != null) {
    return delegate.getModalityState();
  }
  else{
    myManager.removeTimerListener(this);
    return null;
  }
}
项目:tools-idea    文件:WeakTimerListener.java   
public ModalityState getModalityState() {
  TimerListener delegate = myRef.get();
  if (delegate != null) {
    return delegate.getModalityState();
  }
  else{
    myManager.removeTimerListener(this);
    return null;
  }
}
项目:consulo    文件:WeakTimerListener.java   
public ModalityState getModalityState() {
  TimerListener delegate = myRef.get();
  if (delegate != null) {
    return delegate.getModalityState();
  }
  else{
    myManager.removeTimerListener(this);
    return null;
  }
}
项目:intellij-ce-playground    文件:WeakTimerListener.java   
public WeakTimerListener(ActionManagerEx manager, TimerListener delegate) {
  myManager = manager;
  myRef = new WeakReference<TimerListener>(delegate);
}
项目:intellij-ce-playground    文件:WeakTimerListener.java   
public void run() {
  TimerListener delegate = myRef.get();
  if (delegate != null) {
    delegate.run();
  }
}
项目:tools-idea    文件:WeakTimerListener.java   
public WeakTimerListener(ActionManagerEx manager, TimerListener delegate) {
  myManager = manager;
  myRef = new WeakReference<TimerListener>(delegate);
}
项目:tools-idea    文件:WeakTimerListener.java   
public void run() {
  TimerListener delegate = myRef.get();
  if (delegate != null) {
    delegate.run();
  }
}
项目:consulo    文件:WeakTimerListener.java   
public WeakTimerListener(ActionManagerEx manager, TimerListener delegate) {
  myManager = manager;
  myRef = new WeakReference<TimerListener>(delegate);
}
项目:consulo    文件:WeakTimerListener.java   
public void run() {
  TimerListener delegate = myRef.get();
  if (delegate != null) {
    delegate.run();
  }
}