com.atlassian.gadgets.spi.changes
Interface DashboardChange.Visitor

Enclosing interface:
DashboardChange

public static interface DashboardChange.Visitor

Visitor which allows for dynamic dispatching of implementations based on the type of change.


Method Summary
 void visit(AddGadgetChange change)
          Process the adding of a gadget.
 void visit(GadgetColorChange change)
          Process a gadgets chrome color changing.
 void visit(RemoveGadgetChange change)
          Process the removal of a gadget.
 void visit(UpdateGadgetUserPrefsChange change)
          Process the updating of a gadgets user preferences.
 void visit(UpdateLayoutChange change)
          Process a dashboard layout update.
 

Method Detail

visit

void visit(AddGadgetChange change)
Process the adding of a gadget.

Parameters:
change - change to process

visit

void visit(GadgetColorChange change)
Process a gadgets chrome color changing.

Parameters:
change - change to process

visit

void visit(RemoveGadgetChange change)
Process the removal of a gadget.

Parameters:
change - change to process

visit

void visit(UpdateGadgetUserPrefsChange change)
Process the updating of a gadgets user preferences.

Parameters:
change - change to process

visit

void visit(UpdateLayoutChange change)
Process a dashboard layout update.

Parameters:
change - change to process


Copyright © 2009 Atlassian. All Rights Reserved.