Class ModuleAppPropertyPage

All Implemented Interfaces:
EventListener, IDialogPage, IMessageProvider, IPreferencePage, IWorkbenchPropertyPage

public class ModuleAppPropertyPage extends PropertyPage implements EventListener
The IIZI Module Application property page.
Author:
Christopher Mindus
  • Field Details

    • ID

      public static final String ID
      The ID of this property page.
  • Constructor Details

    • ModuleAppPropertyPage

      public ModuleAppPropertyPage()
      Constructor for property page.
  • Method Details

    • createContents

      protected Control createContents(Composite parent)
      Specified by:
      createContents in class PreferencePage
      See Also:
    • performOk

      public boolean performOk()
      Performs OK.
      Specified by:
      performOk in interface IPreferencePage
      Overrides:
      performOk in class PreferencePage
    • performCancel

      public boolean performCancel()
      Cancels: the values the page was opened with are put back into the LIVE Module App, the instance the module project's settings answer (ModuleProjectSettings.getModuleApp()) and the one the listeners are on. The instance is never replaced: ModuleProjectSettings holds it for the life of the project, so replacing it by the clone of the original (as this method did) disposed of the instance everything reads, and the Designer went on reading the disposed instance with the cancelled values until the project was reloaded (TM-D-5 of order 244). The original clone stays the page's reference of what "unchanged" is, should the dialog stay open.
      Specified by:
      performCancel in interface IPreferencePage
      Overrides:
      performCancel in class PreferencePage
    • setVisible

      public void setVisible(boolean isVisible)
      Focuses the properties editor and performs a layout.
      Specified by:
      setVisible in interface IDialogPage
      Overrides:
      setVisible in class DialogPage
    • onEvent

      public void onEvent(GEvent event)
      Called to process an event.
      Specified by:
      onEvent in interface EventListener
      Parameters:
      event - The event.