com.levigo.jadice.appbase
Class AddOns

java.lang.Object
  extended by com.levigo.jadice.appbase.AddOns

public class AddOns
extends Object


Method Summary
static AddOnPresenter getPresenter()
          Return the AddOnPresenter currently in charge of add-on management.
static void setPresenter(AddOnPresenter presenter)
          Set the AddOnPresenter which shall be in charge of add-on management.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPresenter

public static AddOnPresenter getPresenter()
Return the AddOnPresenter currently in charge of add-on management. This method never returns null.

Returns:
the currently active AddOnPresenter

setPresenter

public static void setPresenter(AddOnPresenter presenter)
Set the AddOnPresenter which shall be in charge of add-on management. If the currently active AddOnPresenter already manages any add-ons those are transferred to the new presenter. Caveat: the transfer of responsibility will fail in an unpredictable fashion if the old presenter manages some add-ons with a per-view-component policy but the new presenter uses a one-per-add-on-class policy.

Parameters:
presenter -


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.