code: public static void adaptPageCompletetoGuarded(DialogPage dialogPage,
  			Guarded guarded) {
  		dialogPage.addPropertyChangeListener(DialogPage.PAGE_COMPLETE_PROPERTY,
  				new PageCompleteAdapter(guarded));
  	}
docs: Create an adapter that will monitor the page complete status of the
  dialog page and adapt it to operations on the provided Guarded object. If
  the page is complete, then the guarded object will be enabled. If this
  page is not complete, then the guarded object will be disabled.
  
  @param dialogPage
  to monitor
  @param guarded
  object to adapt