Exemplo n.º 1
0
  public void init() {

    super.init();

    try {

      Environment.setUserProperty(
          Constants.WHATS_NEW_VERSION_VIEWED_PROPERTY_NAME,
          new StringProperty(
              Constants.WHATS_NEW_VERSION_VIEWED_PROPERTY_NAME,
              Environment.getQuollWriterVersion().getVersion()));

    } catch (Exception e) {

      Environment.logError("Unable to set the whats new version viewed property", e);
    }
  }
 /**
  * Returns a reference to the current WizardModel for this Wizard component.
  *
  * @return The current WizardModel for this Wizard component.
  */
 public WizardModel getWizardModel() {
   return wizard.getModel();
 }