mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Make vm state always accessible
This commit is contained in:
parent
51ef955996
commit
7364d13f66
3 changed files with 15 additions and 0 deletions
|
@ -33,6 +33,11 @@ public class StorePauseAction implements ActionProvider {
|
|||
public String getIcon(DataStoreEntryRef<PauseableStore> store) {
|
||||
return "mdi2p-pause";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requiresValidStore() {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -33,6 +33,11 @@ public class StoreStartAction implements ActionProvider {
|
|||
public String getIcon(DataStoreEntryRef<StartableStore> store) {
|
||||
return "mdi2p-play";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requiresValidStore() {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -33,6 +33,11 @@ public class StoreStopAction implements ActionProvider {
|
|||
public String getIcon(DataStoreEntryRef<StoppableStore> store) {
|
||||
return "mdi2s-stop";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requiresValidStore() {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue