Java 类com.intellij.openapi.vfs.impl.http.RemoteFileState 实例源码

项目:intellij-ce-playground    文件:RefreshRemoteFileAction.java   
@Override
public void update(AnActionEvent e) {
  final RemoteFileState state = myFile.getFileInfo().getState();
  e.getPresentation().setEnabled(state == RemoteFileState.DOWNLOADED || state == RemoteFileState.ERROR_OCCURRED);
}
项目:intellij-ce-playground    文件:JumpFromRemoteFileToLocalAction.java   
@Override
public void update(AnActionEvent e) {
  e.getPresentation().setEnabled(myFile.getFileInfo().getState() == RemoteFileState.DOWNLOADED);
}
项目:tools-idea    文件:RefreshRemoteFileAction.java   
@Override
public void update(AnActionEvent e) {
  final RemoteFileState state = myFile.getFileInfo().getState();
  e.getPresentation().setEnabled(state == RemoteFileState.DOWNLOADED || state == RemoteFileState.ERROR_OCCURRED);
}
项目:tools-idea    文件:JumpFromRemoteFileToLocalAction.java   
@Override
public void update(AnActionEvent e) {
  final RemoteFileState state = myFile.getFileInfo().getState();
  e.getPresentation().setEnabled(state == RemoteFileState.DOWNLOADED);
}
项目:consulo    文件:RefreshRemoteFileAction.java   
@Override
public void update(AnActionEvent e) {
  final RemoteFileState state = myFile.getFileInfo().getState();
  e.getPresentation().setEnabled(state == RemoteFileState.DOWNLOADED || state == RemoteFileState.ERROR_OCCURRED);
}
项目:consulo    文件:JumpFromRemoteFileToLocalAction.java   
@Override
public void update(AnActionEvent e) {
  final RemoteFileState state = myFile.getFileInfo().getState();
  e.getPresentation().setEnabled(state == RemoteFileState.DOWNLOADED);
}