Class ResourceGroupSelectionAdapter

java.lang.Object
org.eclipse.swt.events.SelectionAdapter
com.developer.nefarious.zjoule.plugin.login.events.ResourceGroupSelectionAdapter
All Implemented Interfaces:
EventListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class ResourceGroupSelectionAdapter extends org.eclipse.swt.events.SelectionAdapter
Handles selection events for the resource group dropdown in the second page of the login wizard.

The ResourceGroupSelectionAdapter listens for changes to the selected resource group, updates the deployment dropdown with available deployments for the selected group, and saves the selected resource group to memory.

  • Constructor Details

  • Method Details

    • widgetSelected

      public void widgetSelected(org.eclipse.swt.events.SelectionEvent event)
      Handles selection events triggered by the resource group dropdown.

      When a new resource group is selected:

      • Resets the deployment dropdown and page status.
      • Fetches and populates available deployments for the selected group.
      If no resource group is selected, the deployment dropdown remains disabled.
      Specified by:
      widgetSelected in interface org.eclipse.swt.events.SelectionListener
      Overrides:
      widgetSelected in class org.eclipse.swt.events.SelectionAdapter
      Parameters:
      event - the SelectionEvent triggered by the dropdown.