Class VmDecompilerInformationController


  • public class VmDecompilerInformationController
    extends java.lang.Object
    This class provides Action listeners and result proccreateRequestessing for the GUI.
    • Constructor Detail

      • VmDecompilerInformationController

        public VmDecompilerInformationController​(MainFrameView mainFrameView,
                                                 Model model)
    • Method Detail

      • createConfigurationEditor

        private void createConfigurationEditor()
      • createNewConnectionDialog

        private void createNewConnectionDialog()
      • createNewFsVMDialog

        private void createNewFsVMDialog()
      • updateVmLists

        private void updateVmLists()
      • changeVm

        private void changeVm​(java.awt.event.ActionEvent event)
      • clearOtherList

        private void clearOtherList​(javax.swing.JList<VmInfo> vmList)
        If selected list is remoteVmList clears localVmList and vice versa.
        Effectively merging them into one.
        Parameters:
        vmList - list that doesn't get cleared containing the VM that user wants to attach.
      • showLoadingDialog

        private void showLoadingDialog()
      • hideLoadingDialog

        private void hideLoadingDialog()
      • abortAndCleanup

        private void abortAndCleanup()
      • loadClassNames

        private void loadClassNames()
        Sends request for classes. If "ok" response is received updates classes list. If "error" response is received shows an error dialog.
      • loadClassBytecode

        private void loadClassBytecode​(java.lang.String name)
      • fileToBase64

        public static java.lang.String fileToBase64​(java.lang.String path)
      • stdinToBase64

        public static java.lang.String stdinToBase64()
      • fileToBytes

        public static byte[] fileToBytes​(java.lang.String path)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • stdinToBytes

        public static byte[] stdinToBytes()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • bytesToBase64

        public static java.lang.String bytesToBase64​(byte[] bytes)
      • haltAgent

        private void haltAgent()