-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
36 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/main/java/com/lucaoonk/virsh_gui/Backend/Processors/VMDOMProcessorThread.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package src.main.java.com.lucaoonk.virsh_gui.Backend.Processors; | ||
|
||
import javax.swing.SwingWorker; | ||
|
||
import src.main.java.com.lucaoonk.virsh_gui.Backend.Objects.Context; | ||
import src.main.java.com.lucaoonk.virsh_gui.Backend.Objects.VM; | ||
|
||
public class VMDOMProcessorThread extends SwingWorker{ | ||
|
||
private Context context; | ||
|
||
public VMDOMProcessorThread(Context context){ | ||
super(); | ||
this.context = context; | ||
this.execute(); | ||
} | ||
|
||
@Override | ||
protected Object doInBackground() throws Exception { | ||
for (VM vm : context.getVMList()) { | ||
VMDOMProcessor.getDetails(vm); | ||
|
||
} | ||
|
||
return null; | ||
} | ||
|
||
} |
22 changes: 0 additions & 22 deletions
22
src/main/java/com/lucaoonk/virsh_gui/Backend/Terminal.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.36 KB
...lasses/src/main/java/com/lucaoonk/virsh_gui/Backend/Processors/VMDOMProcessorThread.class
Binary file not shown.