[Ejtools-cvs] libraries/adwt/src/main/net/sourceforge/ejtools/awt/services BeanContextInternalFrame.
Brought to you by:
letiemble
From: <let...@us...> - 2002-09-06 21:36:41
|
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/services In directory usw-pr-cvs1:/tmp/cvs-serv31879/adwt/src/main/net/sourceforge/ejtools/awt/services Modified Files: BeanContextInternalFrame.java Log Message: Add some comments Index: BeanContextInternalFrame.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/services/BeanContextInternalFrame.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** BeanContextInternalFrame.java 6 Sep 2002 20:09:51 -0000 1.5 --- BeanContextInternalFrame.java 6 Sep 2002 21:36:38 -0000 1.6 *************** *** 10,14 **** import java.beans.PropertyVetoException; import java.beans.beancontext.BeanContextServices; - import java.beans.beancontext.BeanContextServicesSupport; import javax.swing.Action; --- 10,13 ---- *************** *** 21,24 **** --- 20,24 ---- import net.sourceforge.ejtools.awt.action.CommandAction; import net.sourceforge.ejtools.awt.action.window.InternalFrameAction; + import net.sourceforge.ejtools.beans.beancontext.CustomBeanContextServicesSupport; import org.apache.log4j.Category; *************** *** 27,72 **** * Description of the Class * ! * @author letiemble ! * @created 25 octobre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ ! public class BeanContextInternalFrame extends BeanContextServicesSupport { ! /** ! * Description of the Field ! */ protected CommandAction action; ! /** ! * Description of the Field ! */ protected JInternalFrame frame; ! /** ! * Description of the Field ! */ protected MDIFrameService service; ! /** ! * Description of the Field ! */ protected ViewerManager viewer; ! /** ! * Description of the Field ! */ protected static ButtonGroup group = new ButtonGroup(); ! /** ! * Description of the Field ! */ private static Category logger = Category.getInstance(BeanContextInternalFrame.class); ! /** ! * Constructor for the BeanContextInternalFrame object ! */ public BeanContextInternalFrame() { } ! /** ! * Description of the Method ! */ public void close() { --- 27,56 ---- * Description of the Class * ! * @author letiemble ! * @created 25 octobre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ ! public class BeanContextInternalFrame extends CustomBeanContextServicesSupport { ! /** Description of the Field */ protected CommandAction action; ! /** Description of the Field */ protected JInternalFrame frame; ! /** Description of the Field */ protected MDIFrameService service; ! /** Description of the Field */ protected ViewerManager viewer; ! /** Description of the Field */ protected static ButtonGroup group = new ButtonGroup(); ! /** Description of the Field */ private static Category logger = Category.getInstance(BeanContextInternalFrame.class); ! /** Constructor for the BeanContextInternalFrame object */ public BeanContextInternalFrame() { } ! /** Description of the Method */ public void close() { *************** *** 78,82 **** * Gets the action attribute of the BeanContextInternalFrame object * ! * @return The action value */ public CommandAction getAction() --- 62,66 ---- * Gets the action attribute of the BeanContextInternalFrame object * ! * @return The action value */ public CommandAction getAction() *************** *** 89,93 **** * Gets the component attribute of the BeanContextInternalFrame object * ! * @return The component value */ public Component getComponent() --- 73,77 ---- * Gets the component attribute of the BeanContextInternalFrame object * ! * @return The component value */ public Component getComponent() *************** *** 100,104 **** * Sets the title attribute of the BeanContextInternalFrame object * ! * @param title The new title value */ public void setTitle(String title) --- 84,89 ---- * Sets the title attribute of the BeanContextInternalFrame object * ! * @paramtitle The new title value ! * @paramtitle The new title value */ public void setTitle(String title) *************** *** 109,115 **** ! /** ! * Description of the Method ! */ protected void activate() { --- 94,98 ---- ! /** Description of the Method */ protected void activate() { *************** *** 131,137 **** ! /** ! * Description of the Method ! */ protected void createFrame() { } --- 114,118 ---- ! /** Description of the Method */ protected void createFrame() { } *************** *** 140,153 **** * Description of the Method * ! * @exception Exception Description of Exception */ ! protected void destroyFrame() throws Exception { } ! /** ! * Description of the Method ! */ protected void initializeBeanContextResources() { logger.debug("In initializeBeanContextResources"); BeanContextServices context = (BeanContextServices) getBeanContext(); --- 121,135 ---- * Description of the Method * ! * @exceptionException Description of the Exception ! * @exceptionException Description of Exception */ ! protected void destroyFrame() ! throws Exception { } ! /** Description of the Method */ protected void initializeBeanContextResources() { + super.initializeBeanContextResources(); logger.debug("In initializeBeanContextResources"); BeanContextServices context = (BeanContextServices) getBeanContext(); *************** *** 195,199 **** * Description of the Method * ! * @param context Description of Parameter */ protected void register(BeanContextServices context) --- 177,182 ---- * Description of the Method * ! * @paramcontext Description of the Parameter ! * @paramcontext Description of Parameter */ protected void register(BeanContextServices context) *************** *** 216,222 **** ! /** ! * Description of the Method ! */ protected void releaseBeanContextResources() { --- 199,203 ---- ! /** Description of the Method */ protected void releaseBeanContextResources() { *************** *** 240,244 **** * Description of the Method * ! * @param context Description of Parameter */ protected void unregister(BeanContextServices context) --- 221,226 ---- * Description of the Method * ! * @paramcontext Description of the Parameter ! * @paramcontext Description of Parameter */ protected void unregister(BeanContextServices context) *************** *** 263,268 **** * Description of the Class * ! * @author laurent ! * @created 12 janvier 2002 */ protected class ViewerManager extends InternalFrameAdapter --- 245,250 ---- * Description of the Class * ! * @author laurent ! * @created 12 janvier 2002 */ protected class ViewerManager extends InternalFrameAdapter *************** *** 271,275 **** * Description of the Method * ! * @param e Description of Parameter */ public void internalFrameActivated(InternalFrameEvent e) --- 253,258 ---- * Description of the Method * ! * @parame Description of the Parameter ! * @parame Description of Parameter */ public void internalFrameActivated(InternalFrameEvent e) *************** *** 282,286 **** * Description of the Method * ! * @param e Description of Parameter */ public void internalFrameClosed(InternalFrameEvent e) --- 265,270 ---- * Description of the Method * ! * @parame Description of the Parameter ! * @parame Description of Parameter */ public void internalFrameClosed(InternalFrameEvent e) |