/** * Register fetch properties with container. */ @Override public void onLoad(PluginContainer container) { super.onLoad(container); container.registerProperties(this, "backgroundFetch", "deferredFetch"); }
@Override public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); timer.start(); }
@Override public void onUnload() { super.onUnload(); unloadCount++; }
/** * Set text box focus upon activation. */ @Override public void onActivate() { super.onActivate(); notifySandbox("activate"); }
@Override public void afterInitialized(BaseComponent comp) { super.afterInitialized(comp); timer.start(); }
/** * If there is a deferred fetch operation when the plugin is activated, invoke it now. */ @Override public void onActivate() { super.onActivate(); if (this.fetchPending) { log.trace("Processing deferred data request."); fetchData(); } }
@Override public void afterInitialized(BaseComponent comp) { super.afterInitialized(comp); sandbox = comp.getFirstChild(); }
@Override public void onLoad(ElementPlugin plugin) { super.onLoad(plugin); plugin.registerProperties(this, "showUser"); }
/** * @see org.carewebframework.ui.FrameworkController#doAfterCompose(org.zkoss.zk.ui.Component) */ @Override public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); dbRegion = StringUtils.trimToEmpty(getPropertyValue(DATABASE_DISPLAY_NAME_PROPERTY)); committed(); }
@Override public void onUnload() { super.onUnload(); enableAutoRefresh(false); }
@Override public void onActivate() { super.onActivate(); if (needsRefresh) { refresh(); } }
@Override public void afterInitialized(BaseComponent comp) { super.afterInitialized(comp); mv = cboScenarios.getModelAndView(Scenario.class); activeScenario = ScenarioContext.getActiveScenario(); mv.setRenderer(scenarioRenderer); mv.setModel(model); refreshScenarios(); }
/** * Register fetch properties with container. */ @Override public void onLoad(ElementPlugin plugin) { super.onLoad(plugin); plugin.registerProperties(this, "backgroundFetch", "deferredFetch"); }
/** * Connects an embedded instance of the property grid to the plug-in's root component. */ @Override public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); propertyGrid = PropertyGrid.create(null, comp, true); getContainer().registerProperties(this, "provider", "group"); }
/** * Unsubscribe context listener on unload. */ @Override public void onUnload() { super.onUnload(); if (patientAware) { getAppFramework().unregisterObject(patientContextListener); } }
@Override public void onActivate() { super.onActivate(); activateCount++; }
/** * Overriding super class * * @see org.carewebframework.ui.controller.FrameworkController#afterInitialized(BaseComponent) * @param comp Component */ @Override public void afterInitialized(BaseComponent comp) { super.afterInitialized(comp); initializeController(); if (patientAware) { getAppFramework().registerObject(patientContextListener); patient = PatientContext.getActivePatient(); onPatientChanged(patient); } else { refresh(); } }
@Override public void onLoad(PluginContainer container) { super.onLoad(container); container.registerProperties(this, "showUser"); }
@Override public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); documentDisplay.setVisible(false); attachController(documentList, listController); attachController(documentDisplay, displayController); }
@Override public void onUnload() { this.getEventManager().unsubscribe(PATIENT_CHANGE_EVENT, patientChangeListener); super.onUnload(); }