ejtools-cvs Mailing List for EJTools (Page 99)
Brought to you by:
letiemble
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(471) |
May
(303) |
Jun
(176) |
Jul
(67) |
Aug
(64) |
Sep
(84) |
Oct
(148) |
Nov
(57) |
Dec
(272) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(356) |
Feb
(304) |
Mar
(214) |
Apr
(22) |
May
(7) |
Jun
(25) |
Jul
|
Aug
(5) |
Sep
(106) |
Oct
|
Nov
(95) |
Dec
(193) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
(2) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window In directory usw-pr-cvs1:/tmp/cvs-serv7792/adwt/src/main/net/sourceforge/ejtools/awt/action/window Modified Files: CascadeAction.java CloseAction.java CloseAllAction.java InternalFrameAction.java TileAction.java Log Message: Add some JavaDocs Index: CascadeAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window/CascadeAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CascadeAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- CascadeAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 13,33 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class CascadeAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the CascadeAction object * ! * @param command Description of Parameter */ public CascadeAction(Command command) --- 13,37 ---- /** ! * Regular "Cascade windows" Action that provides : ! * <ul> ! * <li>- a "Windows" menu if it doesn't exist ! * <li>- a "Cascade windows" menu item ! * </ul> * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class CascadeAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the CascadeAction object * ! * @param command Description of Parameter */ public CascadeAction(Command command) Index: CloseAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window/CloseAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CloseAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- CloseAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 13,33 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class CloseAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the CloseAction object * ! * @param command Description of Parameter */ public CloseAction(Command command) --- 13,37 ---- /** ! * Regular "Close active window" Action that provides : ! * <ul> ! * <li>- a "Windows" menu if it doesn't exist ! * <li>- a "Close active window" menu item ! * </ul> * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class CloseAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the CloseAction object * ! * @param command Description of Parameter */ public CloseAction(Command command) Index: CloseAllAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window/CloseAllAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CloseAllAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- CloseAllAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 14,34 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 11 janvier 2002 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class CloseAllAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the CascadeAction object * ! * @param command Description of Parameter */ public CloseAllAction(Command command) --- 14,38 ---- /** ! * Regular "Close all windows" Action that provides : ! * <ul> ! * <li>- a "Windows" menu if it doesn't exist ! * <li>- a "Close all windows" menu item ! * </ul> * ! * @author letiemble ! * @created 11 janvier 2002 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class CloseAllAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the CascadeAction object * ! * @param command Description of Parameter */ public CloseAllAction(Command command) Index: InternalFrameAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window/InternalFrameAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** InternalFrameAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- InternalFrameAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 16,36 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 11 janvier 2002 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class InternalFrameAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the InternalFrameAction object * ! * @param command Description of Parameter */ public InternalFrameAction(Command command) --- 16,40 ---- /** ! * Regular spacer for the title of a window that provides : ! * <ul> ! * <li>- a "Windows" menu if it doesn't exist ! * <li>- a "N/A" menu item replaced by the title of the window ! * </ul> * ! * @author letiemble ! * @created 11 janvier 2002 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class InternalFrameAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the InternalFrameAction object * ! * @param command Description of Parameter */ public InternalFrameAction(Command command) *************** *** 42,48 **** /** ! * Gets the menuItem attribute of the InternalFrameAction object * ! * @return The menuItem value */ public JMenuItem getMenuItem() --- 46,52 ---- /** ! * Gets the menuItem attribute of the InternalFrameAction object * ! * @return The menuItem value */ public JMenuItem getMenuItem() Index: TileAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window/TileAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TileAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- TileAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 13,33 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class TileAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the TileAction object * ! * @param command Description of Parameter */ public TileAction(Command command) --- 13,37 ---- /** ! * Regular "Tile windows" Action that provides : ! * <ul> ! * <li>- a "Windows" menu if it doesn't exist ! * <li>- a "Tile windows" menu item ! * </ul> * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class TileAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the TileAction object * ! * @param command Description of Parameter */ public TileAction(Command command) |
From: Laurent E. <let...@us...> - 2002-05-05 20:09:59
|
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file In directory usw-pr-cvs1:/tmp/cvs-serv7792/adwt/src/main/net/sourceforge/ejtools/awt/action/file Modified Files: ExitAction.java FileHistoryAction.java FileHistoryActionTop.java NewAction.java OpenAction.java PrintAction.java SaveAction.java SaveAsAction.java Log Message: Add some JavaDocs Index: ExitAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/ExitAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ExitAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- ExitAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 14,32 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class ExitAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * @param command The exit command that the action should act upon. */ public ExitAction(Command command) --- 14,37 ---- /** ! * Regular "Exit" Action that provides : ! * <ul> ! * <li>- a "File" menu if it doesn't exist ! * <li>- a "Exit" menu item ! * <li>- a separator before the menu item ! * </ul> * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class ExitAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * @param command The exit command that the action should act upon. */ public ExitAction(Command command) Index: FileHistoryAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/FileHistoryAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FileHistoryAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- FileHistoryAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 13,33 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class FileHistoryAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the CloseAction object * ! * @param command Description of Parameter */ public FileHistoryAction(Command command) --- 13,37 ---- /** ! * Regular spacer for file history that provides : ! * <ul> ! * <li>- a "File" menu if it doesn't exist ! * <li>- a "N/A" menu item replaced by the file in the history ! * </ul> * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class FileHistoryAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the CloseAction object * ! * @param command Description of Parameter */ public FileHistoryAction(Command command) Index: FileHistoryActionTop.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/FileHistoryActionTop.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FileHistoryActionTop.java 30 Apr 2002 21:06:52 -0000 1.2 --- FileHistoryActionTop.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 14,34 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class FileHistoryActionTop extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the CloseAction object * ! * @param command Description of Parameter */ public FileHistoryActionTop(Command command) --- 14,39 ---- /** ! * Regular spacer for file history that provides : ! * <ul> ! * <li>- a "File" menu if it doesn't exist ! * <li>- a "N/A" menu item replaced by the file in the history ! * <li>- a separator before the menu item ! * </ul> * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class FileHistoryActionTop extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the CloseAction object * ! * @param command Description of Parameter */ public FileHistoryActionTop(Command command) Index: NewAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/NewAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NewAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- NewAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 13,33 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class NewAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the NewAction object * ! * @param command Description of Parameter */ public NewAction(Command command) --- 13,38 ---- /** ! * Regular "New" Action that provides : ! * <ul> ! * <li>- a "File" menu if it doesn't exist ! * <li>- a "New" menu item ! * <li>- a "New" toolbar button ! * </ul> * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class NewAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the NewAction object * ! * @param command Description of Parameter */ public NewAction(Command command) Index: OpenAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/OpenAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** OpenAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- OpenAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 13,33 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class OpenAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the OpenAction object * ! * @param command Description of Parameter */ public OpenAction(Command command) --- 13,38 ---- /** ! * Regular "Open" Action that provides : ! * <ul> ! * <li>- a "File" menu if it doesn't exist ! * <li>- a "Open" menu item ! * <li>- a "Open" toolbar button ! * </ul> * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class OpenAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the OpenAction object * ! * @param command Description of Parameter */ public OpenAction(Command command) Index: PrintAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/PrintAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PrintAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- PrintAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 13,33 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 18 mars 2002 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class PrintAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the PrintAction object * ! * @param command Description of Parameter */ public PrintAction(Command command) --- 13,38 ---- /** ! * Regular "Print" Action that provides : ! * <ul> ! * <li>- a "File" menu if it doesn't exist ! * <li>- a "Print" menu item ! * <li>- a "Print" toolbar button ! * </ul> * ! * @author letiemble ! * @created 18 mars 2002 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class PrintAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the PrintAction object * ! * @param command Description of Parameter */ public PrintAction(Command command) Index: SaveAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/SaveAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SaveAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- SaveAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 13,33 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class SaveAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the SaveAction object * ! * @param command Description of Parameter */ public SaveAction(Command command) --- 13,38 ---- /** ! * Regular "Save" Action that provides : ! * <ul> ! * <li>- a "File" menu if it doesn't exist ! * <li>- a "Save" menu item ! * <li>- a "Save" toolbar button ! * </ul> * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class SaveAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the SaveAction object * ! * @param command Description of Parameter */ public SaveAction(Command command) Index: SaveAsAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file/SaveAsAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SaveAsAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- SaveAsAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 13,33 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class SaveAsAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the SaveAsAction object * ! * @param command Description of Parameter */ public SaveAsAction(Command command) --- 13,37 ---- /** ! * Regular "Save as" Action that provides : ! * <ul> ! * <li>- a "File" menu if it doesn't exist ! * <li>- a "Save as" menu item ! * </ul> * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class SaveAsAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** ! * Constructor for the SaveAsAction object * ! * @param command Description of Parameter */ public SaveAsAction(Command command) |
From: Laurent E. <let...@us...> - 2002-05-05 20:09:59
|
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action In directory usw-pr-cvs1:/tmp/cvs-serv7792/adwt/src/main/net/sourceforge/ejtools/awt/action Modified Files: Command.java CommandAction.java Log Message: Add some JavaDocs Index: Command.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/Command.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Command.java 30 Apr 2002 21:06:52 -0000 1.2 --- Command.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 10,20 **** * Interface needed to implement to Command Pattern. * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ */ public interface Command { ! /** Method to implement executed by the action. */ public void execute(); } --- 10,20 ---- * Interface needed to implement to Command Pattern. * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ */ public interface Command { ! /** Method to implement executed by the action. */ public void execute(); } Index: CommandAction.java =================================================================== RCS file: /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/CommandAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CommandAction.java 30 Apr 2002 21:06:52 -0000 1.2 --- CommandAction.java 5 May 2002 20:09:56 -0000 1.3 *************** *** 28,71 **** /** ! * Description of the Class * ! * @author letiemble ! * @created 2 novembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class CommandAction extends BeanContextChildSupport implements Action { ! /** Description of the Field */ ! private static Category logger = Category.getInstance(CommandAction.class); ! /** Description of the Field */ protected boolean inToolBar = false; ! /** Description of the Field */ protected String menu = null; ! /** Description of the Field */ ! protected int menuMnemonic = 0; ! /** Description of the Field */ protected String menuAccelerator = null; ! /** Description of the Field */ protected int menuLayout = MenuBarService.NO_LAYOUT; ! /** Description of the Field */ ! protected String icon = null; ! /** Description of the Field */ ! protected AbstractAction action = null; ! /** Description of the Field */ ! protected Command command; ! /** Description of the Field */ protected JMenuItem menuitem; ! /** Description of the Field */ protected ResourceBundle res; /** ! * Constructor for the CommandAction object * ! * @param command Description of Parameter ! * @param name Description of Parameter ! * @param res Description of Parameter */ public CommandAction(Command command, ResourceBundle res, String name) --- 28,71 ---- /** ! * Description of the Class * ! * @author letiemble ! * @created 2 novembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class CommandAction extends BeanContextChildSupport implements Action { ! /** Description of the Field */ ! protected AbstractAction action = null; ! /** Description of the Field */ ! protected Command command; ! /** Description of the Field */ ! protected String icon = null; ! /** Description of the Field */ protected boolean inToolBar = false; ! /** Description of the Field */ protected String menu = null; ! /** Description of the Field */ protected String menuAccelerator = null; ! /** Description of the Field */ protected int menuLayout = MenuBarService.NO_LAYOUT; ! /** Description of the Field */ ! protected int menuMnemonic = 0; ! /** Description of the Field */ protected JMenuItem menuitem; ! /** Description of the Field */ protected ResourceBundle res; + /** Description of the Field */ + private static Category logger = Category.getInstance(CommandAction.class); /** ! * Constructor for the CommandAction object * ! * @param command Description of Parameter ! * @param name Description of Parameter ! * @param res Description of Parameter */ public CommandAction(Command command, ResourceBundle res, String name) *************** *** 86,473 **** /** ! * Sets the enabled attribute of the CommandAction object * ! * @param b The new enabled value */ ! public void setEnabled(boolean b) { ! this.action.setEnabled(b); } /** ! * Constructor for the setIcon object * ! * @param icon Description of Parameter */ ! public final void setIcon(String icon) { ! if ((icon != null) && (!"".equals(icon))) { ! try { ! Icon image = new ImageIcon(getClass().getResource(icon)); ! this.putValue(Action.SMALL_ICON, image); } ! catch (Exception e) { } } } /** ! * Constructor for the setMenu object * ! * @param menu Description of Parameter */ ! public final void setMenu(String menu) { ! if ((menu != null) && (!"".equals(menu))) ! { ! this.menu = menu; ! } } /** ! * Setter for the menuMnemonic attribute * ! * @param menuMnemonic The new value for menuMnemonic attribute */ ! public final void setMenuMnemonic(String menuMnemonic) { ! if ((menu != menuMnemonic) && (!"".equals(menuMnemonic))) ! { ! this.menuMnemonic = Integer.parseInt(res.getString(menuMnemonic)); ! } } /** ! * Setter for the menuAccelerator attribute * ! * @param menuAccelerator The new value for menuAccelerator attribute */ ! public final void setMenuAccelerator(String menuAccelerator) { ! if ((menu != menuAccelerator) && (!"".equals(menuAccelerator))) ! { ! this.menuAccelerator = res.getString(menuAccelerator); ! } } /** ! * Sets the menuLayout attribute of the CommandAction object * ! * @param menuLayout The new menuLayout value */ ! public final void setMenuLayout(int menuLayout) { ! this.menuLayout = menuLayout; } /** ! * Sets the toolBar attribute of the CommandAction object * ! * @param inToolBar The new toolBar value */ ! public final void setToolBar(boolean inToolBar) { ! this.inToolBar = inToolBar; } /** ! * Gets the value attribute of the CommandAction object * ! * @param key Description of Parameter ! * @return The value value */ ! public Object getValue(String key) ! { ! return this.action.getValue(key); ! } /** ! * Getter for the resourceBundle attribute * ! * @return The value of resourceBundle attribute */ ! public ResourceBundle getResourceBundle() ! { ! return this.res; ! } /** ! * Gets the enabled attribute of the CommandAction object * ! * @return The enabled value */ ! public boolean isEnabled() { ! return this.action.isEnabled(); } ! /** ! * Gets the menu attribute of the CommandAction object ! * ! * @return The menu value ! */ ! public final String getMenu() { ! return this.menu; } /** ! * Gets the menuLayout attribute of the CommandAction object * ! * @return The menuLayout value */ ! public final int getMenuLayout() { ! return this.menuLayout; } ! /** ! * Gets the toolbar attribute of the CommandAction object ! * ! * @return The toolbar value ! */ ! public final boolean getToolBar() { ! return this.inToolBar; } /** ! * Getter for the menuItem attribute * ! * @return The value */ ! public JMenuItem getMenuItem() { ! if (this.menuitem == null) { ! logger.debug("Building MenuItem"); ! ! this.menuitem = new JMenuItem(this); ! if (this.menuMnemonic != 0) { ! this.menuitem.setMnemonic(this.menuMnemonic); } ! if (this.menuAccelerator != null) { ! this.menuitem.setAccelerator(KeyStroke.getKeyStroke(menuAccelerator)); } } - return this.menuitem; } /** ! * Description of the Method * ! * @param key Description of Parameter ! * @param value Description of Parameter */ ! public void putValue(String key, Object value) { ! this.action.putValue(key, value); } /** ! * Adds a feature to the PropertyChangeListener attribute of the ! * CommandAction object * ! * @param listener The feature to be added to the PropertyChangeListener ! * attribute */ ! public void addPropertyChangeListener(PropertyChangeListener listener) { ! this.action.addPropertyChangeListener(listener); } /** ! * Description of the Method * ! * @param listener Description of Parameter */ ! public void removePropertyChangeListener(PropertyChangeListener listener) { ! this.action.removePropertyChangeListener(listener); } /** ! * Description of the Method * ! * @param bcsre Description of Parameter */ ! public void serviceRevoked(BeanContextServiceRevokedEvent bcsre) { } /** ! * actionPerformed is what executed the command. actionPerformed is called ! * whenever the action is acted upon. * ! * @param e the action event */ ! public void actionPerformed(ActionEvent e) { ! this.action.actionPerformed(e); } /** ! * Description of the Method * ! * @param bcsae Description of Parameter */ ! public void serviceAvailable(BeanContextServiceAvailableEvent bcsae) { } /** ! * This method sets the action's command object. * ! * @param newValue the command for this action to act upon */ ! protected final void setCommand(Command newValue) { ! this.command = newValue; } /** ! * Setter for the resourceBundle attribute * ! * @param newValue The new value for resourceBundle attribute */ ! protected final void setResourceBundle(ResourceBundle newValue) { ! this.res = newValue; } /** ! * This method retrieves the encapsulated command. * ! * @return Command */ ! protected final Command getCommand() ! { ! return this.command; ! } ! ! ! /** Description of the Method */ ! protected void initializeBeanContextResources() { ! BeanContextServices context = (BeanContextServices) getBeanContext(); ! this.register(context); } ! /** Description of the Method */ ! protected void releaseBeanContextResources() { ! BeanContextServices context = (BeanContextServices) getBeanContext(); ! this.unregister(context); } /** ! * Description of the Method * ! * @param context Description of Parameter */ ! protected void register(BeanContextServices context) { ! // Set up MenuBar ! if ((context.hasService(MenuBarService.class)) && (this.menu != null) && (!"".equals(this.menu))) ! { ! logger.debug("Using service MenuBarService"); ! try ! { ! MenuBarService service = (MenuBarService) context.getService(this, this, MenuBarService.class, this, this); ! service.register(this); ! } ! catch (Exception e) ! { ! logger.error("Error during utilisation of service MenuBarService (" + e.getMessage() + ")"); ! e.printStackTrace(); ! } ! } ! ! // Set up ToolBar ! if ((context.hasService(ToolBarService.class)) && this.inToolBar) ! { ! logger.debug("Using service ToolBarService"); ! try ! { ! ToolBarService service = (ToolBarService) context.getService(this, this, ToolBarService.class, this, this); ! service.register(this); ! } ! catch (Exception e) ! { ! logger.error("Error during utilisation of service ToolBarService (" + e.getMessage() + ")"); ! e.printStackTrace(); ! } ! } } /** ! * Description of the Method * ! * @param context Description of Parameter */ ! protected void unregister(BeanContextServices context) { ! // Set up MenuBar ! if ((context.hasService(MenuBarService.class)) && (this.menu != null) && (!"".equals(this.menu))) ! { ! logger.debug("Using service MenuBarService"); ! try ! { ! MenuBarService service = (MenuBarService) context.getService(this, this, MenuBarService.class, this, this); ! service.unregister(this); ! } ! catch (Exception e) ! { ! logger.error("Error during utilisation of service MenuBarService (" + e.getMessage() + ")"); ! e.printStackTrace(); ! } ! } ! ! // Set up ToolBar ! if ((context.hasService(ToolBarService.class)) && inToolBar) ! { ! logger.debug("Using service ToolBarService"); ! try ! { ! ToolBarService service = (ToolBarService) context.getService(this, this, ToolBarService.class, this, this); ! service.unregister(this); ! } ! catch (Exception e) ! { ! logger.error("Error during utilisation of service ToolBarService (" + e.getMessage() + ")"); ! e.printStackTrace(); ! } ! } } } --- 86,469 ---- /** ! * actionPerformed is what executed the command. actionPerformed is called ! * whenever the action is acted upon. * ! * @param e the action event */ ! public void actionPerformed(ActionEvent e) { ! this.action.actionPerformed(e); } /** ! * Adds a feature to the PropertyChangeListener attribute of the ! * CommandAction object * ! * @param listener The feature to be added to the PropertyChangeListener ! * attribute */ ! public void addPropertyChangeListener(PropertyChangeListener listener) { ! this.action.addPropertyChangeListener(listener); ! } ! ! ! /** ! * Getter for the menuItem attribute ! * ! * @return The value ! */ ! public JMenuItem getMenuItem() ! { ! if (this.menuitem == null) { ! logger.debug("Building MenuItem"); ! ! this.menuitem = new JMenuItem(this); ! ! if (this.menuMnemonic != 0) { ! this.menuitem.setMnemonic(this.menuMnemonic); } ! if (this.menuAccelerator != null) { + this.menuitem.setAccelerator(KeyStroke.getKeyStroke(menuAccelerator)); } } + return this.menuitem; } /** ! * Getter for the resourceBundle attribute * ! * @return The value of resourceBundle attribute */ ! public ResourceBundle getResourceBundle() { ! return this.res; } /** ! * Gets the value attribute of the CommandAction object * ! * @param key Description of Parameter ! * @return The value value */ ! public Object getValue(String key) { ! return this.action.getValue(key); } /** ! * Gets the enabled attribute of the CommandAction object * ! * @return The enabled value */ ! public boolean isEnabled() { ! return this.action.isEnabled(); } /** ! * Description of the Method * ! * @param key Description of Parameter ! * @param value Description of Parameter */ ! public void putValue(String key, Object value) { ! this.action.putValue(key, value); } /** ! * Description of the Method * ! * @param listener Description of Parameter */ ! public void removePropertyChangeListener(PropertyChangeListener listener) { ! this.action.removePropertyChangeListener(listener); } /** ! * Description of the Method * ! * @param bcsae Description of Parameter */ ! public void serviceAvailable(BeanContextServiceAvailableEvent bcsae) { } /** ! * Description of the Method * ! * @param bcsre Description of Parameter */ ! public void serviceRevoked(BeanContextServiceRevokedEvent bcsre) { } /** ! * Sets the enabled attribute of the CommandAction object * ! * @param b The new enabled value */ ! public void setEnabled(boolean b) { ! this.action.setEnabled(b); } ! /** Description of the Method */ ! protected void initializeBeanContextResources() { ! BeanContextServices context = (BeanContextServices) getBeanContext(); ! this.register(context); } /** ! * Description of the Method * ! * @param context Description of Parameter */ ! protected void register(BeanContextServices context) { ! // Set up MenuBar ! if ((context.hasService(MenuBarService.class)) && (this.menu != null) && (!"".equals(this.menu))) ! { ! logger.debug("Using service MenuBarService"); ! try ! { ! MenuBarService service = (MenuBarService) context.getService(this, this, MenuBarService.class, this, this); ! service.register(this); ! } ! catch (Exception e) ! { ! logger.error("Error during utilisation of service MenuBarService (" + e.getMessage() + ")"); ! e.printStackTrace(); ! } ! } ! ! // Set up ToolBar ! if ((context.hasService(ToolBarService.class)) && this.inToolBar) ! { ! logger.debug("Using service ToolBarService"); ! try ! { ! ToolBarService service = (ToolBarService) context.getService(this, this, ToolBarService.class, this, this); ! service.register(this); ! } ! catch (Exception e) ! { ! logger.error("Error during utilisation of service ToolBarService (" + e.getMessage() + ")"); ! e.printStackTrace(); ! } ! } } ! /** Description of the Method */ ! protected void releaseBeanContextResources() { ! BeanContextServices context = (BeanContextServices) getBeanContext(); ! this.unregister(context); } /** ! * Description of the Method * ! * @param context Description of Parameter */ ! protected void unregister(BeanContextServices context) { ! // Set up MenuBar ! if ((context.hasService(MenuBarService.class)) && (this.menu != null) && (!"".equals(this.menu))) { ! logger.debug("Using service MenuBarService"); ! try ! { ! MenuBarService service = (MenuBarService) context.getService(this, this, MenuBarService.class, this, this); ! service.unregister(this); ! } ! catch (Exception e) ! { ! logger.error("Error during utilisation of service MenuBarService (" + e.getMessage() + ")"); ! e.printStackTrace(); ! } ! } ! // Set up ToolBar ! if ((context.hasService(ToolBarService.class)) && inToolBar) ! { ! logger.debug("Using service ToolBarService"); ! try { ! ToolBarService service = (ToolBarService) context.getService(this, this, ToolBarService.class, this, this); ! service.unregister(this); } ! catch (Exception e) { ! logger.error("Error during utilisation of service ToolBarService (" + e.getMessage() + ")"); ! e.printStackTrace(); } } } /** ! * Gets the menu attribute of the CommandAction object * ! * @return The menu value */ ! public final String getMenu() { ! return this.menu; } /** ! * Gets the menuLayout attribute of the CommandAction object * ! * @return The menuLayout value */ ! public final int getMenuLayout() { ! return this.menuLayout; } /** ! * Gets the toolbar attribute of the CommandAction object * ! * @return The toolbar value */ ! public final boolean getToolBar() { ! return this.inToolBar; } /** ! * Constructor for the setIcon object * ! * @param icon Description of Parameter */ ! public final void setIcon(String icon) { + if ((icon != null) && (!"".equals(icon))) + { + try + { + Icon image = new ImageIcon(getClass().getResource(icon)); + this.putValue(Action.SMALL_ICON, image); + } + catch (Exception e) + { + } + } } /** ! * Constructor for the setMenu object * ! * @param menu Description of Parameter */ ! public final void setMenu(String menu) { ! if ((menu != null) && (!"".equals(menu))) ! { ! this.menu = menu; ! } } /** ! * Setter for the menuAccelerator attribute * ! * @param menuAccelerator The new value for menuAccelerator attribute */ ! public final void setMenuAccelerator(String menuAccelerator) { + if ((menu != menuAccelerator) && (!"".equals(menuAccelerator))) + { + this.menuAccelerator = res.getString(menuAccelerator); + } } /** ! * Sets the menuLayout attribute of the CommandAction object * ! * @param menuLayout The new menuLayout value */ ! public final void setMenuLayout(int menuLayout) { ! this.menuLayout = menuLayout; } /** ! * Setter for the menuMnemonic attribute * ! * @param menuMnemonic The new value for menuMnemonic attribute */ ! public final void setMenuMnemonic(String menuMnemonic) { ! if ((menu != menuMnemonic) && (!"".equals(menuMnemonic))) ! { ! this.menuMnemonic = Integer.parseInt(res.getString(menuMnemonic)); ! } } /** ! * Sets the toolBar attribute of the CommandAction object * ! * @param inToolBar The new toolBar value */ ! public final void setToolBar(boolean inToolBar) { ! this.inToolBar = inToolBar; } ! /** ! * This method retrieves the encapsulated command. ! * ! * @return Command ! */ ! protected final Command getCommand() { ! return this.command; } /** ! * This method sets the action's command object. * ! * @param newValue the command for this action to act upon */ ! protected final void setCommand(Command newValue) { ! this.command = newValue; } /** ! * Setter for the resourceBundle attribute * ! * @param newValue The new value for resourceBundle attribute */ ! protected final void setResourceBundle(ResourceBundle newValue) { ! this.res = newValue; } } |
From: Laurent E. <let...@us...> - 2002-05-05 19:49:44
|
Update of /cvsroot/ejtools/build In directory usw-pr-cvs1:/tmp/cvs-serv2833/build Modified Files: build.bat build.sh build.xml build_application.xml build_library.xml build_thirdparty.xml build_website.xml general.properties location.properties switch.properties Log Message: Add version tag Index: build.bat =================================================================== RCS file: /cvsroot/ejtools/build/build.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.bat 17 Apr 2002 20:48:54 -0000 1.1 --- build.bat 5 May 2002 19:49:41 -0000 1.2 *************** *** 2,6 **** @if not "%ECHO%" == "" echo %ECHO% ! REM convenience bat file to build with set THIRDPARTY=..\thirdparty --- 2,17 ---- @if not "%ECHO%" == "" echo %ECHO% ! REM **************************************** ! REM EJTools, the Enterprise Java Tools ! REM ! REM Distributable under LGPL license. ! REM See terms of license at gnu.org. ! REM ! REM $Revision$ ! REM **************************************** ! ! REM **************************************** ! REM Convenience bat file to build with ! REM **************************************** set THIRDPARTY=..\thirdparty Index: build.sh =================================================================== RCS file: /cvsroot/ejtools/build/build.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.sh 17 Apr 2002 20:48:54 -0000 1.1 --- build.sh 5 May 2002 19:49:41 -0000 1.2 *************** *** 1,4 **** #!/bin/sh ! # convenience bat file to build with THIRDPARTY=./thirdparty --- 1,16 ---- #!/bin/sh ! ! # **************************************** ! # EJTools, the Enterprise Java Tools ! # ! # Distributable under LGPL license. ! # See terms of license at gnu.org. ! # ! # $Revision$ ! # **************************************** ! ! # **************************************** ! # Convenience bat file to build with ! # **************************************** THIRDPARTY=./thirdparty Index: build.xml =================================================================== RCS file: /cvsroot/ejtools/build/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build.xml 30 Apr 2002 21:05:36 -0000 1.3 --- build.xml 5 May 2002 19:49:41 -0000 1.4 *************** *** 1,2 **** --- 1,13 ---- + <?xml version="1.0"?> + <!-- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + * + * $Revision$ + */ + --> <project name="EJTools Build File" default="dist" basedir=".."> <!-- ======================================== --> *************** *** 111,116 **** <!-- Build the Source TarBall --> <!-- ======================================== --> ! <target name="tarball" depends="clean" description=""> ! </target> <!-- **************************************** --> <!-- Generic subtask which calls the subtask for thirdparty, libraries and applications --> --- 122,126 ---- <!-- Build the Source TarBall --> <!-- ======================================== --> ! <target name="tarball" depends="clean" description=""/> <!-- **************************************** --> <!-- Generic subtask which calls the subtask for thirdparty, libraries and applications --> Index: build_application.xml =================================================================== RCS file: /cvsroot/ejtools/build/build_application.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build_application.xml 30 Apr 2002 21:05:36 -0000 1.4 --- build_application.xml 5 May 2002 19:49:41 -0000 1.5 *************** *** 1,2 **** --- 1,13 ---- + <?xml version="1.0"?> + <!-- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + * + * $Revision$ + */ + --> <project name="Generic Build File for Applications" default="dist" basedir="."> <!-- ==================== Global Definitions ======================== --> Index: build_library.xml =================================================================== RCS file: /cvsroot/ejtools/build/build_library.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build_library.xml 17 Apr 2002 20:48:54 -0000 1.1 --- build_library.xml 5 May 2002 19:49:41 -0000 1.2 *************** *** 1,13 **** <project name="Generic Build File for Library" default="build" basedir=".."> <!-- ==================== Global Definitions ======================== --> <property file="build/general.properties"/> <property file="build/location.properties"/> - <!-- ==================== Task Definitions ======================== --> <taskdef name="todo" classname="xdoclet.doc.DocumentDocletTask"/> - <!-- ==================== Module Definition ======================== --> <property name="module.root" value="${libraries.root}/${module.name}"/> - <!-- ==================== File and Directory Names ======================== --> <property name="build.home" value="${module.root}/output"/> --- 1,21 ---- + <?xml version="1.0"?> + <!-- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + * + * $Revision$ + */ + --> <project name="Generic Build File for Library" default="build" basedir=".."> <!-- ==================== Global Definitions ======================== --> <property file="build/general.properties"/> <property file="build/location.properties"/> <!-- ==================== Task Definitions ======================== --> <taskdef name="todo" classname="xdoclet.doc.DocumentDocletTask"/> <!-- ==================== Module Definition ======================== --> <property name="module.root" value="${libraries.root}/${module.name}"/> <!-- ==================== File and Directory Names ======================== --> <property name="build.home" value="${module.root}/output"/> *************** *** 18,29 **** <property name="build.etc" value="${build.home}/etc"/> <property name="build.lib" value="${build.home}/lib"/> - <property name="dist.home" value="${module.root}/dist"/> - <property name="src.home" value="${module.root}/src"/> <property name="src.etc" value="${src.home}/etc"/> <property name="src.main" value="${src.home}/main"/> <property name="src.resources" value="${src.home}/resources"/> - <!-- ==================== Compilation Classpath =========================== --> <path id="compile.classpath"> --- 26,34 ---- *************** *** 40,44 **** <fileset dir="${sun.jsr88.root}" includes="*.jar"/> </path> - <!-- ==================== Info Target ================================== --> <target name="info"> --- 45,48 ---- *************** *** 47,51 **** <echo message="------------------------------------------------------------"/> </target> - <!-- ==================== Prepare Target ================================== --> <target name="prepare" depends="info"> --- 51,54 ---- *************** *** 56,134 **** <mkdir dir="${build.doc.api}"/> <mkdir dir="${build.lib}"/> ! ! <copy todir="${build.etc}"> ! <fileset dir="${src.home}/etc"> ! <include name="*.mf"/> ! </fileset> ! <filterset> ! <filter token="module.name" value="${module.display.name}"/> ! <filter token="version.major" value="${version.major}"/> ! <filter token="version.minor" value="${version.minor}"/> ! <filter token="version.revision" value="${version.revision}"/> ! <filter token="version.tag" value="${version.tag}"/> ! </filterset> ! </copy> </target> - <!-- ==================== Compile Target ================================== --> <target name="compile" depends="prepare" description="Compile Java sources"> <!-- Compile Java classes as necessary --> ! <javac srcdir="${src.home}/main" ! destdir="${build.classes}" ! debug="${compile.debug}" ! deprecation="${compile.deprecation}" ! optimize="${compile.optimize}"> <classpath refid="compile.classpath"/> </javac> - <copy todir="${build.classes}"> <fileset dir="${src.home}/resources"> ! <include name="**/*.properties"/> ! <include name="**/*.gif"/> ! </fileset> </copy> ! </target> ! <!-- ==================== Build Target ===================================== --> <target name="build" depends="compile" description="Create binary"> <!-- Create the JAR file --> ! <jar jarfile="${build.lib}/${module.name}.jar" ! basedir="${build.classes}" ! manifest="${build.etc}/default.mf"/> </target> - <!-- ==================== Dist Target ===================================== --> <target name="dist" depends="build" description=""> ! <copy todir="${dist.home}"> ! <fileset dir="${build.lib}"> ! <include name="${module.name}.jar"/> ! </fileset> ! </copy> </target> - <!-- ==================== Javadoc Target ================================== --> <target name="javadoc" depends="prepare" description="Create Javadoc API documentation" if="generate.javadoc"> ! <javadoc sourcepath="${src.home}/main" ! destdir="${build.doc.api}" ! packagenames="${module.package}" ! windowtitle="${module.javadoc.title}" ! stylesheetfile="build/css/stylesheet.css"> <classpath refid="compile.classpath"/> </javadoc> </target> - <!-- ==================== Todo Target =================================== --> <target name="todo" depends="prepare" description="Create To Do documentation"> ! <todo sourcepath="${src.main}" ! destdir="${build.doc.todo}" ! classpathref="compile.classpath"> ! <fileset dir="${src.main}"> ! <include name="**/*.java" /> ! </fileset> ! <info projectname="${module.display.name}"/> ! </todo> <copy file="build/css/info.css" todir="${build.doc.todo}" overwrite="yes"/> ! </target> ! <!-- ==================== Clean Target ==================================== --> <target name="clean" depends="info" description="Delete old build and dist directories"> --- 59,117 ---- <mkdir dir="${build.doc.api}"/> <mkdir dir="${build.lib}"/> ! <copy todir="${build.etc}"> ! <fileset dir="${src.home}/etc"> ! <include name="*.mf"/> ! </fileset> ! <filterset> ! <filter token="module.name" value="${module.display.name}"/> ! <filter token="version.major" value="${version.major}"/> ! <filter token="version.minor" value="${version.minor}"/> ! <filter token="version.revision" value="${version.revision}"/> ! <filter token="version.tag" value="${version.tag}"/> ! </filterset> ! </copy> </target> <!-- ==================== Compile Target ================================== --> <target name="compile" depends="prepare" description="Compile Java sources"> <!-- Compile Java classes as necessary --> ! <javac srcdir="${src.home}/main" destdir="${build.classes}" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}"> <classpath refid="compile.classpath"/> </javac> <copy todir="${build.classes}"> <fileset dir="${src.home}/resources"> ! <include name="**/*.properties"/> ! <include name="**/*.gif"/> ! </fileset> </copy> ! </target> <!-- ==================== Build Target ===================================== --> <target name="build" depends="compile" description="Create binary"> <!-- Create the JAR file --> ! <jar jarfile="${build.lib}/${module.name}.jar" basedir="${build.classes}" manifest="${build.etc}/default.mf"/> </target> <!-- ==================== Dist Target ===================================== --> <target name="dist" depends="build" description=""> ! <copy todir="${dist.home}"> ! <fileset dir="${build.lib}"> ! <include name="${module.name}.jar"/> ! </fileset> ! </copy> </target> <!-- ==================== Javadoc Target ================================== --> <target name="javadoc" depends="prepare" description="Create Javadoc API documentation" if="generate.javadoc"> ! <javadoc sourcepath="${src.home}/main" destdir="${build.doc.api}" packagenames="${module.package}" windowtitle="${module.javadoc.title}" stylesheetfile="build/css/stylesheet.css"> <classpath refid="compile.classpath"/> </javadoc> </target> <!-- ==================== Todo Target =================================== --> <target name="todo" depends="prepare" description="Create To Do documentation"> ! <todo sourcepath="${src.main}" destdir="${build.doc.todo}" classpathref="compile.classpath"> ! <fileset dir="${src.main}"> ! <include name="**/*.java"/> ! </fileset> ! <info projectname="${module.display.name}"/> ! </todo> <copy file="build/css/info.css" todir="${build.doc.todo}" overwrite="yes"/> ! </target> <!-- ==================== Clean Target ==================================== --> <target name="clean" depends="info" description="Delete old build and dist directories"> Index: build_thirdparty.xml =================================================================== RCS file: /cvsroot/ejtools/build/build_thirdparty.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build_thirdparty.xml 17 Apr 2002 20:48:54 -0000 1.1 --- build_thirdparty.xml 5 May 2002 19:49:41 -0000 1.2 *************** *** 1,10 **** <project name="Generic Build File for 3rd Party Library" default="build" basedir="."> <!-- ==================== Global Definitions ======================== --> <property file="build/general.properties"/> <property file="build/location.properties"/> - <!-- ==================== Module Definition ======================== --> <property name="module.root" value="${thirdparty.root}/${vendor.name}/${module.name}"/> - <!-- ==================== File and Directory Names ======================== --> <property name="build.home" value="${module.root}/output"/> --- 1,19 ---- + <?xml version="1.0"?> + <!-- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + * + * $Revision$ + */ + --> <project name="Generic Build File for 3rd Party Library" default="build" basedir="."> <!-- ==================== Global Definitions ======================== --> <property file="build/general.properties"/> <property file="build/location.properties"/> <!-- ==================== Module Definition ======================== --> <property name="module.root" value="${thirdparty.root}/${vendor.name}/${module.name}"/> <!-- ==================== File and Directory Names ======================== --> <property name="build.home" value="${module.root}/output"/> *************** *** 14,25 **** <property name="build.etc" value="${build.home}/etc"/> <property name="build.lib" value="${build.home}/lib"/> - <property name="dist.home" value="${module.root}/dist"/> - <property name="src.home" value="${module.root}/src"/> <property name="src.etc" value="${src.home}/etc"/> <property name="src.main" value="${src.home}/main"/> <property name="src.resources" value="${src.home}/resources"/> - <!-- ==================== Compilation Classpath =========================== --> <path id="compile.classpath"> --- 23,31 ---- *************** *** 30,34 **** <fileset dir="${sun.jmx.root}" includes="*.jar"/> </path> - <!-- ==================== Info Target ================================== --> <target name="info"> --- 36,39 ---- *************** *** 37,41 **** <echo message="------------------------------------------------------------"/> </target> - <!-- ==================== Prepare Target ================================== --> <target name="prepare" depends="info"> --- 42,45 ---- *************** *** 46,83 **** <mkdir dir="${build.doc.api}"/> <mkdir dir="${build.lib}"/> ! ! <copy todir="${build.etc}"> ! <fileset dir="${src.home}/etc"> ! <include name="*.mf"/> ! </fileset> ! <filterset> ! <filter token="module.name" value="${module.display.name}"/> ! <filter token="version.major" value="${version.major}"/> ! <filter token="version.minor" value="${version.minor}"/> ! <filter token="version.revision" value="${version.revision}"/> ! <filter token="version.tag" value="${version.tag}"/> ! </filterset> ! </copy> </target> - <!-- ==================== Compile Target ================================== --> <target name="compile" depends="prepare" description="Compile Java sources"> <!-- Compile Java classes as necessary --> ! <javac srcdir="${src.home}/main" ! destdir="${build.classes}" ! debug="${compile.debug}" ! deprecation="${compile.deprecation}" ! optimize="${compile.optimize}"> <classpath refid="compile.classpath"/> </javac> - <copy todir="${build.classes}"> <fileset dir="${src.home}/resources"> ! <include name="**/*.properties"/> ! <include name="**/*.gif"/> ! </fileset> </copy> ! </target> ! <!-- ==================== Build Target ===================================== --> <target name="build" depends="compile,javadoc" description="Create binary"> --- 50,79 ---- <mkdir dir="${build.doc.api}"/> <mkdir dir="${build.lib}"/> ! <copy todir="${build.etc}"> ! <fileset dir="${src.home}/etc"> ! <include name="*.mf"/> ! </fileset> ! <filterset> ! <filter token="module.name" value="${module.display.name}"/> ! <filter token="version.major" value="${version.major}"/> ! <filter token="version.minor" value="${version.minor}"/> ! <filter token="version.revision" value="${version.revision}"/> ! <filter token="version.tag" value="${version.tag}"/> ! </filterset> ! </copy> </target> <!-- ==================== Compile Target ================================== --> <target name="compile" depends="prepare" description="Compile Java sources"> <!-- Compile Java classes as necessary --> ! <javac srcdir="${src.home}/main" destdir="${build.classes}" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}"> <classpath refid="compile.classpath"/> </javac> <copy todir="${build.classes}"> <fileset dir="${src.home}/resources"> ! <include name="**/*.properties"/> ! <include name="**/*.gif"/> ! </fileset> </copy> ! </target> <!-- ==================== Build Target ===================================== --> <target name="build" depends="compile,javadoc" description="Create binary"> *************** *** 88,120 **** <replace dir="${build.etc}" token="@version.revision@" value="${version.revision}"/> <replace dir="${build.etc}" token="@version.tag@" value="${version.tag}"/> - <!-- Create the JAR file --> ! <jar jarfile="${build.lib}/${module.name}.jar" ! basedir="${build.classes}" ! manifest="${build.etc}/default.mf"/> </target> - <!-- ==================== Dist Target ===================================== --> <target name="dist" depends="build" description=""> ! <copy todir="${dist.home}"> ! <fileset dir="${build.lib}"> ! <include name="${module.name}.jar"/> ! </fileset> ! </copy> </target> - <!-- ==================== Javadoc Target ================================== --> <target name="javadoc" depends="compile" description="Create Javadoc API documentation" if="generate.javadoc"> ! <javadoc sourcepath="${src.home}/main" ! destdir="${build.doc}/api" ! packagenames="${module.package}"> <classpath refid="compile.classpath"/> </javadoc> </target> - <!-- ==================== Todo Target =================================== --> ! <target name="todo" depends="prepare" description="Create To Do documentation"> ! </target> ! <!-- ==================== Clean Target ==================================== --> <target name="clean" depends="info" description="Delete old build and dist directories"> --- 84,106 ---- <replace dir="${build.etc}" token="@version.revision@" value="${version.revision}"/> <replace dir="${build.etc}" token="@version.tag@" value="${version.tag}"/> <!-- Create the JAR file --> ! <jar jarfile="${build.lib}/${module.name}.jar" basedir="${build.classes}" manifest="${build.etc}/default.mf"/> </target> <!-- ==================== Dist Target ===================================== --> <target name="dist" depends="build" description=""> ! <copy todir="${dist.home}"> ! <fileset dir="${build.lib}"> ! <include name="${module.name}.jar"/> ! </fileset> ! </copy> </target> <!-- ==================== Javadoc Target ================================== --> <target name="javadoc" depends="compile" description="Create Javadoc API documentation" if="generate.javadoc"> ! <javadoc sourcepath="${src.home}/main" destdir="${build.doc}/api" packagenames="${module.package}"> <classpath refid="compile.classpath"/> </javadoc> </target> <!-- ==================== Todo Target =================================== --> ! <target name="todo" depends="prepare" description="Create To Do documentation"/> <!-- ==================== Clean Target ==================================== --> <target name="clean" depends="info" description="Delete old build and dist directories"> Index: build_website.xml =================================================================== RCS file: /cvsroot/ejtools/build/build_website.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build_website.xml 17 Apr 2002 20:48:54 -0000 1.1 --- build_website.xml 5 May 2002 19:49:41 -0000 1.2 *************** *** 1,2 **** --- 1,13 ---- + <?xml version="1.0"?> + <!-- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + * + * $Revision$ + */ + --> <project name="EJTools Website Build File" default="all" basedir="."> <!-- ==================== Global Definitions ======================== --> *************** *** 4,16 **** <property file="build/location.properties"/> <property environment="env"/> - <!-- ==================== File and Directory Names ======================== --> <property name="images.root" value="${website.root}/images"/> <property name="images.svg.root" value="${images.root}/svg"/> - <!-- ==================== All Target =================================== --> ! <target name="all" depends="svg.rasterizer,xweb,javadoc.copy,todo.copy"> ! </target> ! <!-- ==================== JavaDoc Copy Target =================================== --> <target name="javadoc.copy" depends="xweb"> --- 15,23 ---- <property file="build/location.properties"/> <property environment="env"/> <!-- ==================== File and Directory Names ======================== --> <property name="images.root" value="${website.root}/images"/> <property name="images.svg.root" value="${images.root}/svg"/> <!-- ==================== All Target =================================== --> ! <target name="all" depends="svg.rasterizer,xweb,javadoc.copy,todo.copy"/> <!-- ==================== JavaDoc Copy Target =================================== --> <target name="javadoc.copy" depends="xweb"> *************** *** 21,25 **** <fileset dir="${libraries.root}/xmlweb/output/doc/api"/> </copy> - <copy todir="${website.root}/output/projects/deployment/api" overwrite="yes"> <fileset dir="${applications.root}/deployment/output/doc/api"/> --- 28,31 ---- *************** *** 35,39 **** </copy> </target> - <!-- ==================== ToDo Copy Target =================================== --> <target name="todo.copy" depends="xweb"> --- 41,44 ---- *************** *** 44,58 **** <fileset dir="${libraries.root}/xmlweb/output/doc/todo"/> </copy> - <copy todir="${website.root}/output/projects/jndi.browser/todo" overwrite="yes"> <fileset dir="${applications.root}/jndi.browser/output/doc/todo"/> </copy> </target> - <!-- ==================== Website Creation Target =================================== --> <target name="xweb" if="env.XWEBHOME"> <echo message="Using XWEB (location is ${env.XWEBHOME})"/> <exec dir="${website.root}" executable="${env.XWEBHOME}/bin/wp.bat" os="Windows 2000"> ! <!-- <arg line="-preview"/> --> --- 49,61 ---- <fileset dir="${libraries.root}/xmlweb/output/doc/todo"/> </copy> <copy todir="${website.root}/output/projects/jndi.browser/todo" overwrite="yes"> <fileset dir="${applications.root}/jndi.browser/output/doc/todo"/> </copy> </target> <!-- ==================== Website Creation Target =================================== --> <target name="xweb" if="env.XWEBHOME"> <echo message="Using XWEB (location is ${env.XWEBHOME})"/> <exec dir="${website.root}" executable="${env.XWEBHOME}/bin/wp.bat" os="Windows 2000"> ! <!-- <arg line="-preview"/> --> *************** *** 64,68 **** </exec> </target> - <!-- ==================== EJTools SVG Target =================================== --> <target name="svg.rasterizer"> --- 67,70 ---- *************** *** 74,78 **** <arg value="${images.svg.root}/*.svg"/> </java> - <java jar="${apache.batik.root}/batik-rasterizer.jar" fork="true"> <arg value="-d"/> --- 76,79 ---- *************** *** 86,91 **** <arg value="${images.svg.root}/ejtools.svg"/> </java> ! <move file="${images.root}/ejtools.png" tofile="${images.root}/ejtools200.png"/> ! <java jar="${apache.batik.root}/batik-rasterizer.jar" fork="true"> <arg value="-d"/> --- 87,91 ---- <arg value="${images.svg.root}/ejtools.svg"/> </java> ! <move file="${images.root}/ejtools.png" tofile="${images.root}/ejtools200.png"/> <java jar="${apache.batik.root}/batik-rasterizer.jar" fork="true"> <arg value="-d"/> *************** *** 99,104 **** <arg value="${images.svg.root}/ejtools.svg"/> </java> ! <move file="${images.root}/ejtools.png" tofile="${images.root}/ejtools100.png"/> ! <java jar="${apache.batik.root}/batik-rasterizer.jar" fork="true"> <arg value="-d"/> --- 99,103 ---- <arg value="${images.svg.root}/ejtools.svg"/> </java> ! <move file="${images.root}/ejtools.png" tofile="${images.root}/ejtools100.png"/> <java jar="${apache.batik.root}/batik-rasterizer.jar" fork="true"> <arg value="-d"/> *************** *** 112,117 **** <arg value="${images.svg.root}/ejtools.svg"/> </java> ! <move file="${images.root}/ejtools.png" tofile="${images.root}/ejtools80.png"/> ! <java jar="${apache.batik.root}/batik-rasterizer.jar" fork="true"> <arg value="-d"/> --- 111,115 ---- <arg value="${images.svg.root}/ejtools.svg"/> </java> ! <move file="${images.root}/ejtools.png" tofile="${images.root}/ejtools80.png"/> <java jar="${apache.batik.root}/batik-rasterizer.jar" fork="true"> <arg value="-d"/> *************** *** 125,129 **** <arg value="${images.svg.root}/ejtools.svg"/> </java> ! <move file="${images.root}/ejtools.png" tofile="${images.root}/ejtools50.png"/> </target> </project> --- 123,127 ---- <arg value="${images.svg.root}/ejtools.svg"/> </java> ! <move file="${images.root}/ejtools.png" tofile="${images.root}/ejtools50.png"/> </target> </project> Index: general.properties =================================================================== RCS file: /cvsroot/ejtools/build/general.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** general.properties 30 Apr 2002 21:05:13 -0000 1.3 --- general.properties 5 May 2002 19:49:41 -0000 1.4 *************** *** 1,10 **** # ================================================================================ # # Properties File for the EJTools Project - # # General Purpose Properties - # - # $Revision$ - # # ================================================================================ --- 1,14 ---- # ================================================================================ + # EJTools, the Enterprise Java Tools + # + # Distributable under LGPL license. + # See terms of license at gnu.org. # + # $Revision$ + # ================================================================================ + + # ================================================================================ # Properties File for the EJTools Project # General Purpose Properties # ================================================================================ Index: location.properties =================================================================== RCS file: /cvsroot/ejtools/build/location.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** location.properties 30 Apr 2002 21:05:13 -0000 1.2 --- location.properties 5 May 2002 19:49:41 -0000 1.3 *************** *** 1,10 **** # ================================================================================ # # Properties File for the EJTools Project - # # Location Purpose Properties - # - # $Revision$ - # # ================================================================================ --- 1,14 ---- # ================================================================================ + # EJTools, the Enterprise Java Tools + # + # Distributable under LGPL license. + # See terms of license at gnu.org. # + # $Revision$ + # ================================================================================ + + # ================================================================================ # Properties File for the EJTools Project # Location Purpose Properties # ================================================================================ Index: switch.properties =================================================================== RCS file: /cvsroot/ejtools/build/switch.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** switch.properties 30 Apr 2002 21:05:13 -0000 1.4 --- switch.properties 5 May 2002 19:49:41 -0000 1.5 *************** *** 1,10 **** # ================================================================================ # # Properties File for the EJTools Project - # # Allow the selection of the modules to clean, build, dist, and so on - # - # $Revision$ - # # ================================================================================ --- 1,14 ---- # ================================================================================ + # EJTools, the Enterprise Java Tools + # + # Distributable under LGPL license. + # See terms of license at gnu.org. # + # $Revision$ + # ================================================================================ + + # ================================================================================ # Properties File for the EJTools Project # Allow the selection of the modules to clean, build, dist, and so on # ================================================================================ |
From: Laurent E. <let...@us...> - 2002-05-05 19:43:03
|
Update of /cvsroot/ejtools/thirdparty/sun/j2ee In directory usw-pr-cvs1:/tmp/cvs-serv1326/thirdparty/sun/j2ee Added Files: j2ee.jar Removed Files: jboss-j2ee.jar Log Message: Change library name --- NEW FILE: j2ee.jar --- (This appears to be a binary file; contents omitted.) --- jboss-j2ee.jar DELETED --- |
From: Laurent E. <let...@us...> - 2002-05-02 21:10:07
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv30766/jndi.browser/src/resources Modified Files: ApplicationResources.properties Log Message: Add some I18N Index: ApplicationResources.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/resources/ApplicationResources.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ApplicationResources.properties 30 Apr 2002 21:12:45 -0000 1.2 --- ApplicationResources.properties 2 May 2002 20:54:29 -0000 1.3 *************** *** 1,26 **** ! # Options Menu ! action.options=Options ! action.options.mnemonic=79 ! ! # Options Menu Items ! action.options.selectQueueFactory=Set Default QueueConnectionFactory ! action.options.selectTopicFactory=Set Default TopicConnectionFactory ! ! # Title for Frame, Dialog, etc ! title.application=JNDI Browser ! title.about.dialog=About JNDI Browser ! title.information.defaultFactory.queue=Default QueueConnectionFactory Selection ! title.information.defaultFactory.topic=Default TopicConnectionFactory Selection ! title.question.defaultFactory.queue=Default QueueConnectionFactory Selection ! title.question.defaultFactory.topic=Default TopicConnectionFactory Selection ! ! # Text for Frame, Dialog, etc ! text.about.application=The Enterprise Java Tools ! text.about.javaVersion=Java Version ! text.about.virtualMachine=Virtual Machine ! text.progress.create=Create ... ! text.progress.add=Add ... ! text.information.noDefaultFactory.queue=There is no registered QueueConnectionFactory ! text.information.noDefaultFactory.topic=There is no registered TopicConnectionFactory ! text.question.defaultFactory.queue=Choose the default QueueConnectionFactory ! text.question.defaultFactory.topic=Choose the default TopicConnectionFactory --- 1,43 ---- ! # Options Menu ! action.options=Options ! action.options.mnemonic=79 ! ! # Options Menu Items ! action.options.selectQueueFactory=Set Default QueueConnectionFactory ! action.options.selectTopicFactory=Set Default TopicConnectionFactory ! ! # Title for Frame, Dialog, etc ! title.application=JNDI Browser ! title.about.dialog=About JNDI Browser ! title.information.defaultFactory.queue=Default QueueConnectionFactory Selection ! title.information.defaultFactory.topic=Default TopicConnectionFactory Selection ! title.question.defaultFactory.queue=Default QueueConnectionFactory Selection ! title.question.defaultFactory.topic=Default TopicConnectionFactory Selection ! ! # Text for Frame, Dialog, etc ! text.about.application=The Enterprise Java Tools ! text.about.javaVersion=Java Version ! text.about.virtualMachine=Virtual Machine ! text.information.noDefaultFactory.queue=There is no registered QueueConnectionFactory ! text.information.noDefaultFactory.topic=There is no registered TopicConnectionFactory ! text.question.defaultFactory.queue=Choose the default QueueConnectionFactory ! text.question.defaultFactory.topic=Choose the default TopicConnectionFactory ! ! # Text for splash widow ! text.progress.task.start=JNDIBrowser starting... ! text.progress.task.create.frame.service=Creating Frame service... ! text.progress.task.create.about.service=Creating About service... ! text.progress.task.create.menubar.service=Creating MenuBar service... ! text.progress.task.create.connection.service=Creating Connection service... ! text.progress.task.add.frame.service=Adding Frame service... ! text.progress.task.add.about.service=Adding About service... ! text.progress.task.add.menubar.service=Adding MenuBar service... ! text.progress.task.add.connection.service=Adding Connection service... ! text.progress.task.add.server=Adding Server entry point... ! text.progress.task.add.action.quit=Adding Exit action... ! text.progress.task.add.action.queue=Adding QueueConnectionFactory action... ! text.progress.task.add.action.topic=Adding TopicConnectionFactory action... ! ! # Text for custom editors ! text.editor.SearchTypeEditor.shallow=Shallow ! text.editor.SearchTypeEditor.deep=Deep |
From: Laurent E. <let...@us...> - 2002-05-02 21:10:02
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources In directory usw-pr-cvs1:/tmp/cvs-serv30830/jndi.browser/src/resources Modified Files: ApplicationResources_fr_FR.properties Log Message: Add some I18N Index: ApplicationResources_fr_FR.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/resources/ApplicationResources_fr_FR.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ApplicationResources_fr_FR.properties 30 Apr 2002 21:12:45 -0000 1.2 --- ApplicationResources_fr_FR.properties 2 May 2002 20:54:41 -0000 1.3 *************** *** 1,26 **** ! # Options Menu ! action.options=Options ! action.options.mnemonic=79 ! ! # Options Menu Items ! action.options.selectQueueFactory=Fixer le QueueConnectionFactory par défaut ! action.options.selectTopicFactory=Fixer le TopicConnectionFactory par défaut ! ! # Title for Frame, Dialog, etc ! title.application=JNDI Browser ! title.about.dialog=A propos de JNDI Browser ! title.information.defaultFactory.queue=Sélection du QueueConnectionFactory par défaut ! title.information.defaultFactory.topic=Sélection du TopicConnectionFactory par défaut ! title.question.defaultFactory.queue=Sélection du QueueConnectionFactory par défaut ! title.question.defaultFactory.topic=Sélection du TopicConnectionFactory par défaut ! ! # Text for Frame, Dialog, etc ! text.about.application=The Enterprise Java Tools ! text.about.javaVersion=Version de Java ! text.about.virtualMachine=Machine Virtuelle ! text.progress.create=Crée ... ! text.progress.add=Ajoute ... ! text.information.noDefaultFactory.queue=Pas de QueueConnectionFactory référencé ! text.information.noDefaultFactory.topic=Pas de TopicConnectionFactory référencé ! text.question.defaultFactory.queue=Choisissze le QueueConnectionFactory par défaut ! text.question.defaultFactory.topic=Choisissze le TopicConnectionFactory par défaut --- 1,43 ---- ! # Options Menu ! action.options=Options ! action.options.mnemonic=79 ! ! # Options Menu Items ! action.options.selectQueueFactory=QueueConnectionFactory par défaut ! action.options.selectTopicFactory=TopicConnectionFactory par défaut ! ! # Title for Frame, Dialog, etc ! title.application=JNDI Browser ! title.about.dialog=A propos de JNDI Browser ! title.information.defaultFactory.queue=Sélection du QueueConnectionFactory par défaut ! title.information.defaultFactory.topic=Sélection du TopicConnectionFactory par défaut ! title.question.defaultFactory.queue=Sélection du QueueConnectionFactory par défaut ! title.question.defaultFactory.topic=Sélection du TopicConnectionFactory par défaut ! ! # Text for Frame, Dialog, etc ! text.about.application=The Enterprise Java Tools ! text.about.javaVersion=Version de Java ! text.about.virtualMachine=Machine Virtuelle ! text.information.noDefaultFactory.queue=Pas de QueueConnectionFactory référencé ! text.information.noDefaultFactory.topic=Pas de TopicConnectionFactory référencé ! text.question.defaultFactory.queue=Choisissze le QueueConnectionFactory par défaut ! text.question.defaultFactory.topic=Choisissze le TopicConnectionFactory par défaut ! ! # Text for splash widow ! text.progress.task.start=JNDIBrowser demarre... ! text.progress.task.create.menubar.service=Création de MenuBar service... ! text.progress.task.create.connection.service=Création de Connection service... ! text.progress.task.create.frame.service=Création de Frame service... ! text.progress.task.create.about.service=Création de About service... ! text.progress.task.add.menubar.service=Ajout de MenuBar service... ! text.progress.task.add.connection.service=Ajout de Connection service... ! text.progress.task.add.frame.service=Ajout de Frame service... ! text.progress.task.add.about.service=Ajout de About service... ! text.progress.task.add.server=Ajout du Serveur... ! text.progress.task.add.action.quit=Ajout de l'action Quitter... ! text.progress.task.add.action.queue=Ajout de l'action QueueConnectionFactory... ! text.progress.task.add.action.topic=Ajout de l'action TopicConnectionFactory... ! ! # Text for custom editors ! text.editor.SearchTypeEditor.shallow=Légère ! text.editor.SearchTypeEditor.deep=Approfondie |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:53
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge In directory usw-pr-cvs1:/tmp/cvs-serv30908/applications/jndi.browser/src/resources/net/sourceforge Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge added to the repository |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:50
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser In directory usw-pr-cvs1:/tmp/cvs-serv30908/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser added to the repository |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:45
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/ejb In directory usw-pr-cvs1:/tmp/cvs-serv30908/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/ejb Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/ejb added to the repository |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:42
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools In directory usw-pr-cvs1:/tmp/cvs-serv30908/applications/jndi.browser/src/resources/net/sourceforge/ejtools Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools added to the repository |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:38
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net In directory usw-pr-cvs1:/tmp/cvs-serv30908/applications/jndi.browser/src/resources/net Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/resources/net added to the repository |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:35
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv30908/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model added to the repository |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:31
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/jms In directory usw-pr-cvs1:/tmp/cvs-serv30908/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/jms Log Message: Directory /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/jms added to the repository |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:28
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/ejb In directory usw-pr-cvs1:/tmp/cvs-serv30981/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/ejb Added Files: EJBHomeProxyBeanInfo.properties EJBHomeProxyBeanInfo_fr_FR.properties Log Message: Add some I18N --- NEW FILE: EJBHomeProxyBeanInfo.properties --- bean.displayname=EJB Home property.name.displayname=Name property.className.displayname=Home Class --- NEW FILE: EJBHomeProxyBeanInfo_fr_FR.properties --- bean.displayname=EJB Home property.name.displayname=Nom property.className.displayname=Classe Home |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:23
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv30981/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model Added Files: JNDIContextBeanInfo.properties JNDIContextBeanInfo_fr_FR.properties JNDIEntryBeanInfo.properties JNDIEntryBeanInfo_fr_FR.properties ServerBeanInfo.properties ServerBeanInfo_fr_FR.properties Log Message: Add some I18N --- NEW FILE: JNDIContextBeanInfo.properties --- bean.displayname=JNDI Context property.name.displayname=Name --- NEW FILE: JNDIContextBeanInfo_fr_FR.properties --- bean.displayname=Contexte JNDI property.name.displayname=Nom --- NEW FILE: JNDIEntryBeanInfo.properties --- bean.displayname=JNDI Entry property.name.displayname=Name property.className.displayname=Class --- NEW FILE: JNDIEntryBeanInfo_fr_FR.properties --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ServerBeanInfo.properties --- bean.displayname=JNDI Server property.factory.displayname=Class Factory property.packages.displayname=Packages property.url.displayname=URL property.context.displayname=Context property.searchType.displayname=Search method.refresh.displayname=Refresh --- NEW FILE: ServerBeanInfo_fr_FR.properties --- bean.displayname=JNDI Serveur property.factory.displayname=Class Factory property.packages.displayname=Packages property.url.displayname=URL property.context.displayname=Contexte property.searchType.displayname=Recherche method.refresh.displayname=Rafraîchir |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:20
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/jms In directory usw-pr-cvs1:/tmp/cvs-serv30981/jndi.browser/src/resources/net/sourceforge/ejtools/jndibrowser/model/jms Added Files: MessageProxyBeanInfo.properties QueueProxyBeanInfo.properties QueueProxyBeanInfo_fr_FR.properties TextMessageProxyBeanInfo.properties TopicProxyBeanInfo.properties Log Message: Add some I18N --- NEW FILE: MessageProxyBeanInfo.properties --- bean.displayname=JMS Message property.correlationId.displayname=Correlation Id property.deliveryMode.displayname=Delivery Mode property.expiration.displayname=Expiration property.messageId.displayname=Message Id property.priority.displayname=Priority property.redelivered.displayname=Is redelivered property.timestamp.displayname=Time Stamp property.type.displayname=Type --- NEW FILE: QueueProxyBeanInfo.properties --- bean.displayname=JMS Queue property.name.displayname=Name property.className.displayname=Class property.count.displayname=Message(s) method.browse.displayname=Browse method.createMessage.displayname=Send Message method.createTextMessage.displayname=Send Text Message parameter.createTextMessage.1.displayname=Text --- NEW FILE: QueueProxyBeanInfo_fr_FR.properties --- bean.displayname=JMS Queue property.name.displayname=Nom property.className.displayname=Classe property.count.displayname=Message(s) method.browse.displayname=Parcourir method.createMessage.displayname=Envoyer un Message method.createTextMessage.displayname=Envoyer un Message Text parameter.createTextMessage.1.displayname=Texte --- NEW FILE: TextMessageProxyBeanInfo.properties --- bean.displayname=JMS Message property.correlationId.displayname=Correlation Id property.deliveryMode.displayname=Delivery Mode property.expiration.displayname=Expiration property.messageId.displayname=Message Id property.priority.displayname=Priority property.redelivered.displayname=Is redelivered property.timestamp.displayname=Time Stamp property.type.displayname=Type property.text.displayname=Texte --- NEW FILE: TopicProxyBeanInfo.properties --- bean.displayname=JMS Topic property.name.displayname=Name property.className.displayname=Class method.createTextMessage.displayname=Publish Text Message parameter.createTextMessage.1.displayname=Text |
From: Laurent E. <let...@us...> - 2002-05-02 21:09:02
|
Update of /cvsroot/ejtools/thirdparty/jboss/jmx In directory usw-pr-cvs1:/tmp/cvs-serv2059/thirdparty/jboss/jmx Modified Files: VERSION Added Files: jboss-jmx.jar Removed Files: jboss-jmx-core.jar jboss-jmx-services.jar Log Message: Update to JBoss 3.0.0RC2 --- NEW FILE: jboss-jmx.jar --- (This appears to be a binary file; contents omitted.) Index: VERSION =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/jmx/VERSION,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** VERSION 18 Apr 2002 20:45:48 -0000 1.1 --- VERSION 2 May 2002 21:08:56 -0000 1.2 *************** *** 1 **** ! 3.0.0RC1 --- 1 ---- ! 3.0.0RC2 --- jboss-jmx-core.jar DELETED --- --- jboss-jmx-services.jar DELETED --- |
Update of /cvsroot/ejtools/thirdparty/jboss/client In directory usw-pr-cvs1:/tmp/cvs-serv2059/thirdparty/jboss/client Modified Files: VERSION jaas.jar jboss-client.jar jboss-common-client.jar jboss-j2ee.jar jboss-jsr77.jar jboss-net-client.jar jboss-system-client.jar jbossha-client.jar jbossmq-client.jar jbossmqha.jar jbosssx-client.jar jmx-connector-client-factory.jar jmx-ejb-connector-client.jar jmx-rmi-connector-client.jar jnp-client.jar Removed Files: jcert.jar jnet.jar Log Message: Update to JBoss 3.0.0RC2 Index: VERSION =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/VERSION,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** VERSION 18 Apr 2002 20:45:47 -0000 1.1 --- VERSION 2 May 2002 21:08:56 -0000 1.2 *************** *** 1 **** ! 3.0.0RC1 --- 1 ---- ! 3.0.0RC2 Index: jaas.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jaas.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsdCqvVQ and /tmp/cvsYWTIfx differ Index: jboss-client.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jboss-client.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvso3QLPR and /tmp/cvsyqQorB differ Index: jboss-common-client.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jboss-common-client.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsz403TS and /tmp/cvsMQGwsB differ Index: jboss-j2ee.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jboss-j2ee.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsOlBBhU and /tmp/cvsYTLCcG differ Index: jboss-jsr77.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jboss-jsr77.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsqEWQdV and /tmp/cvsOigL8F differ Index: jboss-net-client.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jboss-net-client.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs1CWJxW and /tmp/cvsqbLxGI differ Index: jboss-system-client.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jboss-system-client.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsYOuzQX and /tmp/cvsY3UtzL differ Index: jbossha-client.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jbossha-client.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsVy7GgZ and /tmp/cvs2quceO differ Index: jbossmq-client.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jbossmq-client.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs001pK0 and /tmp/cvsmyf48R differ Index: jbossmqha.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jbossmqha.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsk07eu2 and /tmp/cvsqgObKU differ Index: jbosssx-client.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jbosssx-client.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsbDu923 and /tmp/cvscunoIX differ Index: jmx-connector-client-factory.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jmx-connector-client-factory.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvswvC8f5 and /tmp/cvsYJvVj0 differ Index: jmx-ejb-connector-client.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jmx-ejb-connector-client.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsdRMPt4 and /tmp/cvsOv1xS0 differ Index: jmx-rmi-connector-client.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jmx-rmi-connector-client.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsmzMMO5 and /tmp/cvsg1SHk1 differ Index: jnp-client.jar =================================================================== RCS file: /cvsroot/ejtools/thirdparty/jboss/client/jnp-client.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs7kZmd7 and /tmp/cvsc4bmf4 differ --- jcert.jar DELETED --- --- jnet.jar DELETED --- |
From: Laurent E. <let...@us...> - 2002-05-02 21:06:39
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb In directory usw-pr-cvs1:/tmp/cvs-serv29853/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb Modified Files: EJBHomeProxy.java EJBObjectProxy.java PropertyChanger.java Log Message: Add some JavaDocs Index: EJBHomeProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb/EJBHomeProxy.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** EJBHomeProxy.java 30 Apr 2002 21:13:19 -0000 1.2 --- EJBHomeProxy.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 15,18 **** --- 15,19 ---- import java.util.Collection; import java.util.Iterator; + import javax.ejb.EJBHome; import javax.rmi.PortableRemoteObject; *************** *** 22,47 **** /** ! *Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 */ public class EJBHomeProxy extends JNDIEntry implements InvocationHandler { ! /**Description of the Field */ protected Class homeClass; ! /**Description of the Field */ protected BeanInfo info; ! /**Description of the Field */ ! protected EJBHome home; ! /** Description of the Field */ protected Object proxy; /** ! *Sets the home attribute of the EJBean object * ! * @param o Description of Parameter ! * @exception Exception Description of Exception */ public EJBHomeProxy(Object o) throws Exception --- 23,48 ---- /** ! * Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 */ public class EJBHomeProxy extends JNDIEntry implements InvocationHandler { ! /** Description of the Field */ ! protected EJBHome home; ! /** Description of the Field */ protected Class homeClass; ! /** Description of the Field */ protected BeanInfo info; ! /** Description of the Field */ protected Object proxy; /** ! * Sets the home attribute of the EJBean object * ! * @param o Description of Parameter ! * @exception Exception Description of Exception */ public EJBHomeProxy(Object o) throws Exception *************** *** 65,71 **** /** ! *Gets the component attribute of the EJBHomeProxy object * ! * @return The component value */ public Component getComponent() --- 66,72 ---- /** ! * Gets the component attribute of the EJBHomeProxy object * ! * @return The component value */ public Component getComponent() *************** *** 87,97 **** /** ! *Description of the Method * ! * @param proxy Description of Parameter ! * @param method Description of Parameter ! * @param args Description of Parameter ! * @return Description of the Returned Value ! * @exception Throwable Description of Exception */ public Object invoke(Object proxy, Method method, Object[] args) throws Throwable --- 88,98 ---- /** ! * Description of the Method * ! * @param proxy Description of Parameter ! * @param method Description of Parameter ! * @param args Description of Parameter ! * @return Description of the Returned Value ! * @exception Throwable Description of Exception */ public Object invoke(Object proxy, Method method, Object[] args) throws Throwable *************** *** 132,140 **** } ! ! public String toString() ! { ! return homeClass.getName().substring(homeClass.getName().lastIndexOf(".") + 1); ! } ! } --- 133,146 ---- } ! ! /** ! * Description of the Method ! * ! * @return Description of the Return Value ! */ ! public String toString() ! { ! return homeClass.getName().substring(homeClass.getName().lastIndexOf(".") + 1); ! } ! } Index: EJBObjectProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb/EJBObjectProxy.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** EJBObjectProxy.java 30 Apr 2002 21:13:19 -0000 1.2 --- EJBObjectProxy.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 16,20 **** import java.lang.reflect.Method; import java.lang.reflect.Proxy; ! import java.util.Collection; import javax.ejb.EJBObject; --- 16,20 ---- import java.lang.reflect.Method; import java.lang.reflect.Proxy; ! import javax.ejb.EJBObject; *************** *** 23,55 **** /** ! * @author Rickard Oberg (ri...@dr...) ! * @created 2 janvier 2002 ! * @see <related> ! * @version $Revision$ */ public class EJBObjectProxy extends JNDIEntry implements InvocationHandler { ! /** Description of the Field */ ! protected BeanInfo info; ! /** Description of the Field */ ! protected Object obj; ! /** Description of the Field */ protected transient Customizer c; ! /** Description of the Field */ ! protected Class remote; ! /** Description of the Field */ protected String desc; ! /** Description of the Field */ protected Object proxy; ! /** Description of the Field */ protected PropertyChangeSupport ps; /** ! *Constructor for the EJBObjectProxy object * ! * @param obj Description of Parameter ! * @param cl Description of Parameter ! * @exception Exception Description of Exception */ public EJBObjectProxy(Object obj, ClassLoader cl) throws Exception --- 23,55 ---- /** ! * @author Rickard Oberg (ri...@dr...) ! * @created 2 janvier 2002 ! * @see <related> ! * @version $Revision$ */ public class EJBObjectProxy extends JNDIEntry implements InvocationHandler { ! /** Description of the Field */ protected transient Customizer c; ! /** Description of the Field */ protected String desc; ! /** Description of the Field */ ! protected BeanInfo info; ! /** Description of the Field */ ! protected Object obj; ! /** Description of the Field */ protected Object proxy; ! /** Description of the Field */ protected PropertyChangeSupport ps; + /** Description of the Field */ + protected Class remote; /** ! * Constructor for the EJBObjectProxy object * ! * @param obj Description of Parameter ! * @param cl Description of Parameter ! * @exception Exception Description of Exception */ public EJBObjectProxy(Object obj, ClassLoader cl) throws Exception *************** *** 73,79 **** /** ! *Gets the component attribute of the EJBObjectProxy object * ! * @return The component value */ public Component getComponent() --- 73,79 ---- /** ! * Gets the component attribute of the EJBObjectProxy object * ! * @return The component value */ public Component getComponent() *************** *** 88,98 **** /** ! *Description of the Method * ! * @param proxy Description of Parameter ! * @param method Description of Parameter ! * @param args Description of Parameter ! * @return Description of the Returned Value ! * @exception Throwable Description of Exception */ public Object invoke(Object proxy, Method method, Object[] args) throws Throwable --- 88,98 ---- /** ! * Description of the Method * ! * @param proxy Description of Parameter ! * @param method Description of Parameter ! * @param args Description of Parameter ! * @return Description of the Returned Value ! * @exception Throwable Description of Exception */ public Object invoke(Object proxy, Method method, Object[] args) throws Throwable *************** *** 136,142 **** /** ! *Description of the Method * ! * @return Description of the Returned Value */ public String toString() --- 136,142 ---- /** ! * Description of the Method * ! * @return Description of the Returned Value */ public String toString() *************** *** 144,160 **** if (desc == null) { ! try ! { ! Method m = EJBObject.class.getMethod("getPrimaryKey", new Class[0]); ! desc = m.invoke(obj, new Object[0]).toString(); ! } ! catch (Exception e) ! { ! ! desc = remote.getName().substring(remote.getName().lastIndexOf(".") + 1); ! //desc = remote.toString(); ! ! } ! } return desc; --- 144,160 ---- if (desc == null) { ! try ! { ! Method m = EJBObject.class.getMethod("getPrimaryKey", new Class[0]); ! desc = m.invoke(obj, new Object[0]).toString(); ! } ! catch (Exception e) ! { ! ! desc = remote.getName().substring(remote.getName().lastIndexOf(".") + 1); ! //desc = remote.toString(); ! ! } ! } return desc; Index: PropertyChanger.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/ejb/PropertyChanger.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PropertyChanger.java 30 Apr 2002 21:13:19 -0000 1.2 --- PropertyChanger.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 10,24 **** /** ! *Description of the Interface * ! * @author letiembl ! * @created 2 janvier 2002 */ public interface PropertyChanger { /** ! *Adds a feature to the PropertyChangeListener attribute of the PropertyChanger object * ! * @param pcl The feature to be added to the PropertyChangeListener attribute */ public void addPropertyChangeListener(PropertyChangeListener pcl); --- 10,26 ---- /** ! * Description of the Interface * ! * @author letiembl ! * @created 2 janvier 2002 */ public interface PropertyChanger { /** ! * Adds a feature to the PropertyChangeListener attribute of the ! * PropertyChanger object * ! * @param pcl The feature to be added to the PropertyChangeListener ! * attribute */ public void addPropertyChangeListener(PropertyChangeListener pcl); *************** *** 26,34 **** /** ! *Description of the Method * ! * @param pcl Description of Parameter */ public void removePropertyChangeListener(PropertyChangeListener pcl); } - --- 28,35 ---- /** ! * Description of the Method * ! * @param pcl Description of Parameter */ public void removePropertyChangeListener(PropertyChangeListener pcl); } |
From: Laurent E. <let...@us...> - 2002-05-02 21:05:06
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser In directory usw-pr-cvs1:/tmp/cvs-serv29853/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser Modified Files: AboutDialog.java JNDIBrowser.java SelectFactoryAction.java SplashWindow.java Log Message: Add some JavaDocs Index: AboutDialog.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/AboutDialog.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AboutDialog.java 30 Apr 2002 21:13:19 -0000 1.2 --- AboutDialog.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 12,87 **** import java.awt.GridLayout; import java.util.ResourceBundle; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; - import net.sourceforge.ejtools.awt.action.Command; - import net.sourceforge.ejtools.awt.action.help.AboutAction; import net.sourceforge.ejtools.awt.services.AboutService; - import net.sourceforge.ejtools.awt.services.FrameService; /** ! * Description of the Class * ! * @author letiembl ! * @created 2 novembre 2001 ! * @todo Javadoc to complete ! * @todo I18N to complete */ public class AboutDialog implements AboutService { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); - /** Description of the Field */ - private JPanel panel = null; ! /** Constructor for the AboutServiceProvider object */ ! public AboutDialog() ! { ! } /** ! * Getter for the panel attribute * ! * @return The value */ public Container getPanel() { ! if (panel == null) { ! createPanel(); } ! return panel; } /** ! * Getter for the title attribute * ! * @return The value of title attribute */ public String getTitle() { ! return res.getString("title.about.dialog"); } ! /** Description of the Method */ ! private void createPanel() { ! panel = new JPanel(new BorderLayout()); String display = null; JLabel label = null; ! // North part ! panel.add("North", new JLabel(new ImageIcon(getClass().getResource("/images/logo.png")))); ! // Center part ! panel.add("Center", new JLabel(" ")); ! // South part JPanel info = new JPanel(new GridLayout(2, 1)); JLabel java = new JLabel(res.getString("text.about.javaVersion") + " : " + System.getProperty("java.version"), JLabel.CENTER); --- 12,84 ---- import java.awt.GridLayout; import java.util.ResourceBundle; + import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import net.sourceforge.ejtools.awt.services.AboutService; /** ! * Custom AboutService that shows the EJTools logo and some informations about ! * the virtual machine. * ! * @author letiemble ! * @created 2 novembre 2001 ! * @version $Revision$ */ public class AboutDialog implements AboutService { ! /** The main panel */ ! protected JPanel panel = null; ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); ! /** Constructor for the AboutServiceProvider object */ ! public AboutDialog() { } /** ! * Implementation of AboutService. Return the main panel to show. * ! * @return The main panel */ public Container getPanel() { ! // Lazy creation ! if (this.panel == null) { ! this.createPanel(); } ! return this.panel; } /** ! * Implementation of AboutService. Return the title of the About box. * ! * @return The String to display as title */ public String getTitle() { ! return this.res.getString("title.about.dialog"); } ! /** Creation of the panel to show */ ! protected void createPanel() { ! this.panel = new JPanel(new BorderLayout()); String display = null; JLabel label = null; ! // North part of the panel ! this.panel.add("North", new JLabel(new ImageIcon(getClass().getResource("/images/logo.png")))); ! // Center part of the panel ! this.panel.add("Center", new JLabel(" ")); ! // South part of the panel JPanel info = new JPanel(new GridLayout(2, 1)); JLabel java = new JLabel(res.getString("text.about.javaVersion") + " : " + System.getProperty("java.version"), JLabel.CENTER); *************** *** 91,97 **** vm.setForeground(Color.black); info.add(vm); ! panel.add("South", info); } } - --- 88,93 ---- vm.setForeground(Color.black); info.add(vm); ! this.panel.add("South", info); } } Index: JNDIBrowser.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/JNDIBrowser.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** JNDIBrowser.java 30 Apr 2002 21:13:19 -0000 1.3 --- JNDIBrowser.java 2 May 2002 20:52:10 -0000 1.4 *************** *** 12,16 **** import java.util.ResourceBundle; import java.util.Vector; - import javax.swing.ImageIcon; import net.sourceforge.ejtools.awt.BeanContextTreePanel; --- 12,15 ---- *************** *** 18,29 **** import net.sourceforge.ejtools.awt.action.CommandAction; import net.sourceforge.ejtools.awt.action.file.ExitAction; - import net.sourceforge.ejtools.awt.action.file.NewAction; - import net.sourceforge.ejtools.awt.action.file.OpenAction; - import net.sourceforge.ejtools.awt.action.file.SaveAction; - import net.sourceforge.ejtools.awt.action.file.SaveAsAction; import net.sourceforge.ejtools.awt.services.AboutServiceProvider; import net.sourceforge.ejtools.awt.services.FrameServiceProvider; import net.sourceforge.ejtools.awt.services.MenuBarServiceProvider; - import net.sourceforge.ejtools.awt.services.StatusBarService; import net.sourceforge.ejtools.awt.services.StatusBarServiceProvider; import net.sourceforge.ejtools.awt.services.ToolBarServiceProvider; --- 17,23 ---- *************** *** 31,126 **** import net.sourceforge.ejtools.jndibrowser.model.jms.ConnectionService; import net.sourceforge.ejtools.jndibrowser.model.jms.ConnectionServiceProvider; import org.apache.log4j.Category; /** ! * Description of the Class * ! * @author letiembl ! * @created 21 mars 2002 ! * @todo Javadoc to complete ! * @todo Add log4j logs ! * @todo I18N to complete ! * @todo Clean services used */ public class JNDIBrowser extends BeanContextServicesSupport { ! /** Description of the Field */ ! private static Category logger = Category.getInstance(JNDIBrowser.class); ! /** Description of the Field */ ! private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); ! /** Description of the Field */ ! private static Vector factories; ! /** Description of the Field */ ! CommandAction action = null; ! /** Description of the Field */ AboutServiceProvider aboutService; ! /** Description of the Field */ ConnectionServiceProvider connectionService; ! /** Description of the Field */ FrameServiceProvider frameService; ! /** Description of the Field */ MenuBarServiceProvider menuBarService; ! /** Description of the Field */ ! StatusBarServiceProvider statusBarService; ! /** Description of the Field */ ! ToolBarServiceProvider toolBarService; ! /** Constructor for the EJX object */ public JNDIBrowser() { ! SplashWindow splash = new SplashWindow("JNDIBrowser starting...", 14); splash.show(); logger.debug("JNDIBrowser starting..."); ! frameService = new FrameServiceProvider("SDI"); ! splash.progress("Creating Frame Service..."); ! aboutService = new AboutServiceProvider(new AboutDialog()); ! splash.progress("Creating About Service..."); ! menuBarService = new MenuBarServiceProvider(); ! splash.progress("Creating MenuBar Service..."); ! toolBarService = new ToolBarServiceProvider(); ! splash.progress("Creating ToolBar Service..."); ! statusBarService = new StatusBarServiceProvider(); ! splash.progress("Creating StatusBar Service..."); ! connectionService = new ConnectionServiceProvider(); ! splash.progress("Creating Connection Service..."); try { ! add(menuBarService); ! splash.progress("Adding MenuBar Service..."); ! add(toolBarService); ! // add(statusBarService); ! add(connectionService); ! splash.progress("Adding Connection Service..."); ! frameService.setTitle(res.getString("title.application")); final Server server = new Server(); ! add(server); frameService.setContent(new BeanContextTreePanel(server)); - splash.progress("Adding Server Entry Point..."); - - frameService.addWindowListener(new WindowAdapter() { - public void windowClosing(WindowEvent evt) { - quit(); - } - }); ! add(new ExitAction( new Command() { public void execute() { ! quit(); } } )); - splash.progress("Adding Exit Action..."); ! add(new SelectFactoryAction("action.options.selectQueueFactory", new Command() { --- 25,115 ---- import net.sourceforge.ejtools.jndibrowser.model.jms.ConnectionService; import net.sourceforge.ejtools.jndibrowser.model.jms.ConnectionServiceProvider; + import org.apache.log4j.Category; /** ! * Description of the Class * ! * @author letiembl ! * @created 21 mars 2002 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class JNDIBrowser extends BeanContextServicesSupport { ! /** Service to display About box */ AboutServiceProvider aboutService; ! /** Service to connect the JNDI server */ ConnectionServiceProvider connectionService; ! /** Service to display a SDI Frame */ FrameServiceProvider frameService; ! /** Service to displau a menu bar */ MenuBarServiceProvider menuBarService; ! /** Log4j Logger */ ! private static Category logger = Category.getInstance(JNDIBrowser.class); ! /** Bundle for I18N */ ! private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); ! /** Constructor for the JNDIBrowser object */ public JNDIBrowser() { ! // Create a splash window ! SplashWindow splash = new SplashWindow(res.getString("text.progress.task.start"), 14); splash.show(); logger.debug("JNDIBrowser starting..."); ! splash.progress(res.getString("text.progress.task.create.menubar.service")); ! this.menuBarService = new MenuBarServiceProvider(); ! ! splash.progress(res.getString("text.progress.task.create.connection.service")); ! this.connectionService = new ConnectionServiceProvider(); ! ! splash.progress(res.getString("text.progress.task.create.frame.service")); ! this.frameService = new FrameServiceProvider("SDI"); ! ! splash.progress(res.getString("text.progress.task.create.about.service")); ! this.aboutService = new AboutServiceProvider(new AboutDialog()); try { ! splash.progress(res.getString("text.progress.task.add.menubar.service")); ! this.add(menuBarService); ! splash.progress(res.getString("text.progress.task.add.connection.service")); ! this.add(connectionService); ! // Create the main frame ! this.frameService.setTitle(res.getString("title.application")); ! // Has window hook ! this.frameService.addWindowListener( ! new WindowAdapter() ! { ! public void windowClosing(WindowEvent evt) ! { ! JNDIBrowser.this.quit(); ! } ! }); ! ! splash.progress(res.getString("text.progress.task.add.server")); final Server server = new Server(); ! this.add(server); frameService.setContent(new BeanContextTreePanel(server)); ! splash.progress(res.getString("text.progress.task.add.action.quit")); ! this.add(new ExitAction( new Command() { public void execute() { ! JNDIBrowser.this.quit(); } } )); ! splash.progress(res.getString("text.progress.task.add.action.queue")); ! this.add(new SelectFactoryAction("action.options.selectQueueFactory", new Command() { *************** *** 131,137 **** } )); - splash.progress("Adding Action..."); ! add(new SelectFactoryAction("action.options.selectTopicFactory", new Command() { --- 120,126 ---- } )); ! splash.progress(res.getString("text.progress.task.add.action.topic")); ! this.add(new SelectFactoryAction("action.options.selectTopicFactory", new Command() { *************** *** 142,152 **** } )); - splash.progress("Adding Action..."); ! add(frameService); ! splash.progress("Adding Frame Service..."); ! add(aboutService); ! splash.progress("Adding About Service..."); splash.dispose(); --- 131,140 ---- } )); ! splash.progress(res.getString("text.progress.task.add.frame.service")); ! this.add(frameService); ! splash.progress(res.getString("text.progress.task.add.about.service")); ! this.add(aboutService); splash.dispose(); *************** *** 154,165 **** catch (RuntimeException e) { ! logger.fatal("Error occured " + e.getMessage()); throw e; } } - public void quit() { - System.exit(0); - } - } --- 142,155 ---- catch (RuntimeException e) { ! logger.fatal("An error occured " + e.getMessage()); throw e; } } + /** Quit method */ + public void quit() + { + System.exit(0); + } + } Index: SelectFactoryAction.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/SelectFactoryAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SelectFactoryAction.java 30 Apr 2002 21:13:19 -0000 1.2 --- SelectFactoryAction.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 13,33 **** /** ! * Description of the Class * ! * @author laurent ! * @created 29 décembre 2001 ! * @todo Javadoc to complete */ public class SelectFactoryAction extends CommandAction { ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); /** ! * Constructor for the NewAction object * ! * @param command Description of Parameter ! * @param key Description of Parameter */ public SelectFactoryAction(String key, Command command) --- 13,34 ---- /** ! * Custom CommandAction to allow the selection of the default ! * QueueConnectionFactory or the default TopicConnectionFactory. * ! * @author letiemble ! * @created 29 décembre 2001 ! * @version $Revision$ */ public class SelectFactoryAction extends CommandAction { ! /** Bundle for I18N */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); /** ! * Build the SelectFactoryAction with the given key * ! * @param key The I18N key to use ! * @param command The Command associated with this Action */ public SelectFactoryAction(String key, Command command) Index: SplashWindow.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/SplashWindow.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SplashWindow.java 30 Apr 2002 21:13:19 -0000 1.2 --- SplashWindow.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 10,13 **** --- 10,14 ---- import java.awt.Dimension; import java.awt.Toolkit; + import javax.swing.ImageIcon; import javax.swing.JLabel; *************** *** 18,47 **** /** ! * Description of the Class * ! * @author letiembl ! * @created 2 novembre 2001 ! * @todo Javadoc to complete */ public class SplashWindow extends JWindow { ! /** Description of the Field */ ! protected JPanel panel = null; ! /** Description of the Field */ protected JLabel message = null; ! /** Description of the Field */ protected JProgressBar progressBar = null; - /** Description of the Field */ - protected int length = 0; /** ! *Constructor for the SplashWindow object * ! * @param message Description of Parameter ! * @param length Description of Parameter */ public SplashWindow(String message, int length) { this.length = length; this.message = new JLabel(message); --- 19,50 ---- /** ! * A basic splash window that show a logo and some text. * ! * @author letiemble ! * @created 2 novembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class SplashWindow extends JWindow { ! /** Number of task */ ! protected int length = 0; ! /** The text to display */ protected JLabel message = null; ! /** The main panel */ ! protected JPanel panel = null; ! /** The progess bar */ protected JProgressBar progressBar = null; /** ! * Constructor for the SplashWindow object * ! * @param message The initial message to display ! * @param length The number of task */ public SplashWindow(String message, int length) { + // Init some variables this.length = length; this.message = new JLabel(message); *************** *** 50,53 **** --- 53,57 ---- this.pack(); + // Center on screen Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); this.setLocation(screen.width / 2 - this.getSize().width / 2, screen.height / 2 - this.getSize().height / 2); *************** *** 56,71 **** /** ! * Description of the Method * ! * @param message Description of Parameter */ public void progress(String message) { this.message.setText(message); int value = this.progressBar.getValue(); value++; this.progressBar.setValue(value); SwingUtilities.invokeLater( new Runnable() --- 60,78 ---- /** ! * Increment the counter of task and display a message * ! * @param message The message to display */ public void progress(String message) { + // Store the new message this.message.setText(message); + // Increment the counter int value = this.progressBar.getValue(); value++; this.progressBar.setValue(value); + // Delegate the paint SwingUtilities.invokeLater( new Runnable() *************** *** 73,77 **** public void run() { ! repaint(); } }); --- 80,84 ---- public void run() { ! SplashWindow.this.repaint(); } }); *************** *** 79,101 **** ! /** Description of the Method */ protected void createPanel() { ! panel = new JPanel(new BorderLayout()); ! // North part ! panel.add("North", new JLabel(new ImageIcon(getClass().getResource("/images/logo.png")))); ! // Center part ! panel.add("Center", message); ! // South part ! progressBar = new JProgressBar(0, this.length); ! progressBar.setValue(0); ! progressBar.setStringPainted(false); ! progressBar.setBorderPainted(false); ! panel.add("South", progressBar); } } - --- 86,107 ---- ! /** Create the main panel */ protected void createPanel() { ! this.panel = new JPanel(new BorderLayout()); ! // North part of the panel ! this.panel.add("North", new JLabel(new ImageIcon(getClass().getResource("/images/logo.png")))); ! // Center part of the panel ! this.panel.add("Center", message); ! // South part of the panel ! this.progressBar = new JProgressBar(0, this.length); ! this.progressBar.setValue(0); ! this.progressBar.setStringPainted(false); ! this.progressBar.setBorderPainted(false); ! this.panel.add("South", progressBar); } } |
From: Laurent E. <let...@us...> - 2002-05-02 21:03:10
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model In directory usw-pr-cvs1:/tmp/cvs-serv29853/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model Modified Files: JNDIContext.java JNDIEntry.java SearchTypeEditor.java Server.java Log Message: Add some JavaDocs Index: JNDIContext.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/JNDIContext.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** JNDIContext.java 30 Apr 2002 21:13:19 -0000 1.2 --- JNDIContext.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 19,43 **** import net.sourceforge.ejtools.awt.GenericCustomizer; import net.sourceforge.ejtools.util.Sort; - import org.apache.log4j.Category; /** ! * Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 ! * @todo Javadoc to complete ! * @todo Add log4j logs */ public class JNDIContext extends BeanContextServicesSupport implements BeanContextChildComponentProxy { ! /** Description of the Field */ ! protected String name = ""; ! /** Description of the Field */ ! protected String className = ""; ! /** Description of the Field */ protected transient Customizer c = null; ! /** Constructor for the JndiServer object */ public JNDIContext() { --- 19,41 ---- import net.sourceforge.ejtools.awt.GenericCustomizer; import net.sourceforge.ejtools.util.Sort; /** ! * Ancestor of all element in the JNDI tree. Represents a JNDI Context and can contains other context. * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ */ public class JNDIContext extends BeanContextServicesSupport implements BeanContextChildComponentProxy { ! /** Customizer of the JavaBean */ protected transient Customizer c = null; + /** Class name of the context */ + protected String className = ""; + /** Name of the context */ + protected String name = ""; ! /** Constructor for the JndiServer object */ public JNDIContext() { *************** *** 47,64 **** /** ! * Gets the name attribute of the JNDINode object ! * ! * @return The name value ! */ ! public String getName() ! { ! return this.name; ! } ! ! ! /** ! * Gets the className attribute of the JNDINode object * ! * @return The className value */ public String getClassName() --- 45,51 ---- /** ! * Gets the class name of the context * ! * @return The class name string */ public String getClassName() *************** *** 69,78 **** /** ! * Gets the component attribute of the JNDINode object * ! * @return The component value */ public Component getComponent() { if (c == null) { --- 56,66 ---- /** ! * Gets the JavaBean customizer of the context * ! * @return The customizer */ public Component getComponent() { + // Lazy creation if (c == null) { *************** *** 84,96 **** /** ! * Getter for the service attribute * ! * @param child Description of Parameter ! * @param requestor Description of Parameter ! * @param serviceClass Description of Parameter ! * @param serviceSelector Description of Parameter ! * @param bcsrl Description of Parameter ! * @return The value ! * @exception TooManyListenersException Description of Exception */ public Object getService(BeanContextChild child, --- 72,95 ---- /** ! * Gets the name of the context * ! * @return The name string ! */ ! public String getName() ! { ! return this.name; ! } ! ! ! /** ! * Override of BeanContextServicesSupport to allow recursive access to BeanContext services ! * ! * @param child Child which requested the service ! * @param requestor Requester of the service ! * @param serviceClass Class of the service ! * @param serviceSelector Selector for the service ! * @param bcsrl Listener for the revocation ! * @return The requested service ! * @exception TooManyListenersException Exception in case of error */ public Object getService(BeanContextChild child, *************** *** 113,116 **** --- 112,116 ---- catch (ClassCastException cce) { + // Ignore it return null; } *************** *** 124,147 **** /** ! * Description of the Method * ! * @return Description of the Returned Value */ ! public String toString() { ! return name == null ? "Undefined" : name; } /** ! * Description of the Method * ! * @return Description of the Returned Value */ ! public Iterator iterator() { ! return Sort.sortByClassAndName(super.iterator()); } } - --- 124,146 ---- /** ! * Return the children of this context as an iterator * ! * @return The sorted iterator by class and by name */ ! public Iterator iterator() { ! return Sort.sortByClassAndName(super.iterator()); } /** ! * Implementation of toString() method * ! * @return The name of the context */ ! public String toString() { ! return name == null ? "Undefined" : name; } } Index: JNDIEntry.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/JNDIEntry.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** JNDIEntry.java 30 Apr 2002 21:13:19 -0000 1.2 --- JNDIEntry.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 8,16 **** /** ! *Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 ! * @todo Javadoc to complete */ public class JNDIEntry extends JNDIContext --- 8,16 ---- /** ! * Describe a simple JNDI entry. * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ */ public class JNDIEntry extends JNDIContext Index: SearchTypeEditor.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/SearchTypeEditor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SearchTypeEditor.java 30 Apr 2002 21:13:19 -0000 1.2 --- SearchTypeEditor.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 7,26 **** package net.sourceforge.ejtools.jndibrowser.model; import com.dreambean.awt.editors.TagsEditor; /** ! * Description of the Class * ! * @author letiembl ! * @created 2 janvier 2002 ! * @todo Javadoc to complete */ public class SearchTypeEditor extends TagsEditor { ! /** Constructor */ public SearchTypeEditor() { ! super(new String[]{"Shallow", "Deep"}, ! new Object[]{new Integer(Server.SHALLOW_SEARCH), new Integer(Server.DEEP_SEARCH)}); } } --- 7,34 ---- package net.sourceforge.ejtools.jndibrowser.model; + import java.util.ResourceBundle; + import com.dreambean.awt.editors.TagsEditor; /** ! * Custom editor for the search depth. * ! * @author letiemble ! * @created 2 janvier 2002 ! * @version $Revision$ */ public class SearchTypeEditor extends TagsEditor { ! /** Bundle for I18N */ ! private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); ! ! ! /** Constructor for the SearchTypeEditor object */ public SearchTypeEditor() { ! super(new String[]{res.getString("text.editor.SearchTypeEditor.shallow"), ! res.getString("text.editor.SearchTypeEditor.deep")}, ! new Object[]{new Integer(Server.SHALLOW_SEARCH), ! new Integer(Server.DEEP_SEARCH)}); } } Index: Server.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/Server.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Server.java 30 Apr 2002 21:13:19 -0000 1.3 --- Server.java 2 May 2002 20:52:10 -0000 1.4 *************** *** 1,7 **** /* ! * EJTools, the Enterprise Java Tools * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model; --- 1,7 ---- /* ! * EJTools, the Enterprise Java Tools * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.jndibrowser.model; *************** *** 11,14 **** --- 11,15 ---- import java.util.Properties; import java.util.Vector; + import javax.naming.Context; import javax.naming.InitialContext; *************** *** 22,56 **** import net.sourceforge.ejtools.jndibrowser.model.jms.QueueProxy; import net.sourceforge.ejtools.jndibrowser.model.jms.TopicProxy; import org.apache.log4j.Category; /** ! * Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 ! * @todo Javadoc to complete ! * @todo Add log4j logs */ public class Server extends JNDIContext { ! private static Category logger = Category.getInstance(Server.class); ! /** Description of the Field */ protected String factory = "org.jnp.interfaces.NamingContextFactory"; ! /** Description of the Field */ protected String initialContext = "/"; ! /** Description of the Field */ protected String pkgs = "org.jboss.naming:org.jnp.interfaces"; ! /** Description of the Field */ protected int searchType = Server.SHALLOW_SEARCH; ! /** Description of the Field */ protected String url = "localhost:1099"; ! ! /** Description of the Field */ public final static int DEEP_SEARCH = 0; ! /** Description of the Field */ public final static int SHALLOW_SEARCH = 1; ! /** Constructor for the JndiServer object */ public Server() { --- 23,59 ---- import net.sourceforge.ejtools.jndibrowser.model.jms.QueueProxy; import net.sourceforge.ejtools.jndibrowser.model.jms.TopicProxy; + import org.apache.log4j.Category; /** ! * Description of the Class * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! * @todo Add log4j logs */ public class Server extends JNDIContext { ! /** Description of the Field */ protected String factory = "org.jnp.interfaces.NamingContextFactory"; ! /** Description of the Field */ protected String initialContext = "/"; ! /** Description of the Field */ protected String pkgs = "org.jboss.naming:org.jnp.interfaces"; ! /** Description of the Field */ protected int searchType = Server.SHALLOW_SEARCH; ! /** Description of the Field */ protected String url = "localhost:1099"; ! /** Description of the Field */ ! private static Category logger = Category.getInstance(Server.class); ! /** Description of the Field */ public final static int DEEP_SEARCH = 0; ! /** Description of the Field */ public final static int SHALLOW_SEARCH = 1; ! /** Constructor for the JndiServer object */ public Server() { *************** *** 61,67 **** /** ! * Gets the context attribute of the JNDIServer object * ! * @return The context value */ public String getContext() --- 64,70 ---- /** ! * Gets the context attribute of the JNDIServer object * ! * @return The context value */ public String getContext() *************** *** 72,78 **** /** ! * Gets the provider attribute of the JndiServer object * ! * @return The provider value */ public String getFactory() --- 75,81 ---- /** ! * Gets the provider attribute of the JndiServer object * ! * @return The provider value */ public String getFactory() *************** *** 83,89 **** /** ! * Gets the packages attribute of the JndiServer object * ! * @return The packages value */ public String getPackages() --- 86,92 ---- /** ! * Gets the packages attribute of the JndiServer object * ! * @return The packages value */ public String getPackages() *************** *** 94,100 **** /** ! * Getter for the searchType attribute * ! * @return The value */ public int getSearchType() --- 97,103 ---- /** ! * Getter for the searchType attribute * ! * @return The value */ public int getSearchType() *************** *** 105,111 **** /** ! * Gets the url attribute of the JndiServer object * ! * @return The url value */ public String getUrl() --- 108,114 ---- /** ! * Gets the url attribute of the JndiServer object * ! * @return The url value */ public String getUrl() *************** *** 115,119 **** ! /** Description of the Method */ public void refresh() { --- 118,122 ---- ! /** Description of the Method */ public void refresh() { *************** *** 152,158 **** /** ! * Sets the context attribute of the JNDIServer object * ! * @param context The new context value */ public void setContext(String context) --- 155,161 ---- /** ! * Sets the context attribute of the JNDIServer object * ! * @param context The new context value */ public void setContext(String context) *************** *** 163,169 **** /** ! * Sets the provider attribute of the JndiServer object * ! * @param factory The new factory value */ public void setFactory(String factory) --- 166,172 ---- /** ! * Sets the provider attribute of the JndiServer object * ! * @param factory The new factory value */ public void setFactory(String factory) *************** *** 174,180 **** /** ! * Sets the packages attribute of the JndiServer object * ! * @param pkgs The new packages value */ public void setPackages(String pkgs) --- 177,183 ---- /** ! * Sets the packages attribute of the JndiServer object * ! * @param pkgs The new packages value */ public void setPackages(String pkgs) *************** *** 185,191 **** /** ! * Setter for the searchType attribute * ! * @param searchType The new value */ public void setSearchType(int searchType) --- 188,194 ---- /** ! * Setter for the searchType attribute * ! * @param searchType The new value */ public void setSearchType(int searchType) *************** *** 196,202 **** /** ! * Sets the url attribute of the JndiServer object * ! * @param url The new url value */ public void setUrl(String url) --- 199,205 ---- /** ! * Sets the url attribute of the JndiServer object * ! * @param url The new url value */ public void setUrl(String url) *************** *** 207,216 **** /** ! * Gets the context attribute of the JndiServer object * ! * @param context Description of Parameter ! * @param s Description of Parameter ! * @return The context value ! * @exception NamingException Description of Exception */ private boolean isContext(Context context, String s) throws NamingException --- 210,219 ---- /** ! * Gets the context attribute of the JndiServer object * ! * @param context Description of Parameter ! * @param s Description of Parameter ! * @return The context value ! * @exception NamingException Description of Exception */ private boolean isContext(Context context, String s) throws NamingException *************** *** 229,238 **** /** ! * Description of the Method * ! * @param context Description of Parameter ! * @param s Description of Parameter ! * @param node Description of Parameter ! * @return Description of the Returned Value */ private boolean iterateContext(Context context, String s, Collection node) --- 232,241 ---- /** ! * Description of the Method * ! * @param context Description of Parameter ! * @param s Description of Parameter ! * @param node Description of Parameter ! * @return Description of the Returned Value */ private boolean iterateContext(Context context, String s, Collection node) *************** *** 277,321 **** o = context.lookup(nc.getName()); ! try ! { ! newNode = new EJBHomeProxy(o); ! newNode.name = nc.getName(); ! } ! catch (Exception e1) ! { ! ! try ! { ! newNode = new QueueProxy(o); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! } ! catch (Exception e2) ! { ! try ! { ! newNode = new TopicProxy(o); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! } ! catch (Exception e3) ! { ! try ! { ! newNode = new ConnectionFactoryProxy(o); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! } ! catch (Exception e4) ! { ! } ! } ! } ! } } --- 280,323 ---- o = context.lookup(nc.getName()); ! try ! { ! newNode = new EJBHomeProxy(o); ! newNode.name = nc.getName(); ! } ! catch (Exception e1) ! { ! try ! { ! newNode = new QueueProxy(o); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! } ! catch (Exception e2) ! { ! try ! { ! newNode = new TopicProxy(o); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! } ! catch (Exception e3) ! { ! try ! { ! newNode = new ConnectionFactoryProxy(o); ! newNode.name = nc.getName(); ! newNode.className = nc.getClassName(); ! } ! catch (Exception e4) ! { ! } + } + } ! } } |
From: Laurent E. <let...@us...> - 2002-05-02 21:01:33
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms In directory usw-pr-cvs1:/tmp/cvs-serv29853/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms Modified Files: ConnectionFactoryProxy.java ConnectionService.java ConnectionServiceProvider.java DeliveryModeEditor.java MessageProxy.java QueueProxy.java TextMessageProxy.java TopicProxy.java Log Message: Add some JavaDocs Index: ConnectionFactoryProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/ConnectionFactoryProxy.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ConnectionFactoryProxy.java 30 Apr 2002 21:13:20 -0000 1.2 --- ConnectionFactoryProxy.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 21,51 **** /** ! * Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 ! * @todo Javadoc to complete ! * @todo Add log4j logs ! * @todo Review the exception raised */ public class ConnectionFactoryProxy extends JNDIEntry { ! /** Description of the Field */ ! protected QueueConnectionFactory queueConnectionFactory = null; ! /** Description of the Field */ ! protected TopicConnectionFactory topicConnectionFactory = null; ! /** Description of the Field */ protected boolean isQueueConnectionFactory = false; ! /** Description of the Field */ protected boolean isTopicConnectionFactory = false; ! /** Description of the Field */ ! protected boolean isDefault = false; /** ! * Constructor for the JMSQueue object * ! * @param o Description of Parameter ! * @exception Exception Description of Exception */ public ConnectionFactoryProxy(Object o) throws Exception --- 21,52 ---- /** ! * Description of the Class * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! * @todo Add log4j logs ! * @todo Review the exception raised */ public class ConnectionFactoryProxy extends JNDIEntry { ! /** Description of the Field */ ! protected boolean isDefault = false; ! /** Description of the Field */ protected boolean isQueueConnectionFactory = false; ! /** Description of the Field */ protected boolean isTopicConnectionFactory = false; ! /** Description of the Field */ ! protected QueueConnectionFactory queueConnectionFactory = null; ! /** Description of the Field */ ! protected TopicConnectionFactory topicConnectionFactory = null; /** ! * Constructor for the JMSQueue object * ! * @param o Description of Parameter ! * @exception Exception Description of Exception */ public ConnectionFactoryProxy(Object o) throws Exception *************** *** 69,75 **** /** ! * Getter for the queueConnectionFactory attribute * ! * @return The value of queueConnectionFactory attribute */ public QueueConnectionFactory getQueueConnectionFactory() --- 70,76 ---- /** ! * Getter for the queueConnectionFactory attribute * ! * @return The value of queueConnectionFactory attribute */ public QueueConnectionFactory getQueueConnectionFactory() *************** *** 80,86 **** /** ! * Getter for the topicConnectionFactory attribute * ! * @return The value of topicConnectionFactory attribute */ public TopicConnectionFactory getTopicConnectionFactory() --- 81,87 ---- /** ! * Getter for the topicConnectionFactory attribute * ! * @return The value of topicConnectionFactory attribute */ public TopicConnectionFactory getTopicConnectionFactory() *************** *** 91,97 **** /** ! * Gets the count attribute of the JMSQueue object * ! * @return The count value */ public boolean isQueueConnectionFactory() --- 92,98 ---- /** ! * Gets the count attribute of the JMSQueue object * ! * @return The count value */ public boolean isQueueConnectionFactory() *************** *** 102,108 **** /** ! * Getter for the topicConnectionFactory attribute * ! * @return The value */ public boolean isTopicConnectionFactory() --- 103,109 ---- /** ! * Getter for the topicConnectionFactory attribute * ! * @return The value */ public boolean isTopicConnectionFactory() *************** *** 113,130 **** /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public String toString() ! { ! return name == null ? "Undefined" : name; ! } ! ! ! /** ! * Description of the Method * ! * @param bcsre Description of Parameter */ public void serviceRevoked(BeanContextServiceRevokedEvent bcsre) --- 114,120 ---- /** ! * Description of the Method * ! * @param bcsre Description of Parameter */ public void serviceRevoked(BeanContextServiceRevokedEvent bcsre) *************** *** 143,147 **** ! /** Description of the Method */ protected void initializeBeanContextResources() { --- 133,148 ---- ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public String toString() ! { ! return name == null ? "Undefined" : name; ! } ! ! ! /** Description of the Method */ protected void initializeBeanContextResources() { Index: ConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/ConnectionService.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ConnectionService.java 30 Apr 2002 21:13:20 -0000 1.2 --- ConnectionService.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 11,32 **** /** ! * Description of the Interface * ! * @author letiembl ! * @created 3 avril 2002 ! * @todo Javadoc to complete */ public interface ConnectionService { ! /** Description of the Field */ public final static String QUEUE_CONNECTION_FACTORY = "QUEUE"; ! /** Description of the Field */ public final static String TOPIC_CONNECTION_FACTORY = "TOPIC"; /** ! * Getter for the defaultQueueConnectionFactory attribute * ! * @return The value of defaultQueueConnectionFactory attribute */ public QueueConnectionFactory getDefaultQueueConnectionFactory(); --- 11,33 ---- /** ! * Description of the Interface * ! * @author letiemble ! * @created 3 avril 2002 ! * @version $Revision$ ! * @todo Javadoc to complete */ public interface ConnectionService { ! /** Description of the Field */ public final static String QUEUE_CONNECTION_FACTORY = "QUEUE"; ! /** Description of the Field */ public final static String TOPIC_CONNECTION_FACTORY = "TOPIC"; /** ! * Getter for the defaultQueueConnectionFactory attribute * ! * @return The value of defaultQueueConnectionFactory attribute */ public QueueConnectionFactory getDefaultQueueConnectionFactory(); *************** *** 34,40 **** /** ! * Getter for the defaultConnectionFactory attribute * ! * @return The value of defaultConnectionFactory attribute */ public TopicConnectionFactory getDefaultTopicConnectionFactory(); --- 35,41 ---- /** ! * Getter for the defaultConnectionFactory attribute * ! * @return The value of defaultConnectionFactory attribute */ public TopicConnectionFactory getDefaultTopicConnectionFactory(); Index: ConnectionServiceProvider.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/ConnectionServiceProvider.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ConnectionServiceProvider.java 30 Apr 2002 21:13:20 -0000 1.2 --- ConnectionServiceProvider.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 21,55 **** /** ! * Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 ! * @todo Javadoc to complete ! * @todo Add log4j logs ! * @todo I18N to check ! * @todo int argument for selectFactory */ public class ConnectionServiceProvider extends BeanContextServicesSupport implements BeanContextServiceProvider, ConnectionService { ! /** Description of the Field */ protected int defaultQueueConnectionFactory = 0; ! /** Description of the Field */ protected int defaultTopicConnectionFactory = 0; ! /** Description of the Field */ protected JPanel panel = null; ! /** Description of the Field */ protected Vector queueConnectionFactories = new Vector(); ! /** Description of the Field */ protected Vector topicConnectionFactories = new Vector(); ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); /** ! * Getter for the currentServiceSelectors attribute * ! * @param bcs Description of Parameter ! * @param serviceClass Description of Parameter ! * @return The value */ public Iterator getCurrentServiceSelectors(BeanContextServices bcs, java.lang.Class serviceClass) --- 21,56 ---- /** ! * Description of the Class * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! * @todo Add log4j logs ! * @todo I18N to check ! * @todo int argument for selectFactory */ public class ConnectionServiceProvider extends BeanContextServicesSupport implements BeanContextServiceProvider, ConnectionService { ! /** Description of the Field */ protected int defaultQueueConnectionFactory = 0; ! /** Description of the Field */ protected int defaultTopicConnectionFactory = 0; ! /** Description of the Field */ protected JPanel panel = null; ! /** Description of the Field */ protected Vector queueConnectionFactories = new Vector(); ! /** Description of the Field */ protected Vector topicConnectionFactories = new Vector(); ! /** Description of the Field */ private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); /** ! * Getter for the currentServiceSelectors attribute * ! * @param bcs Description of Parameter ! * @param serviceClass Description of Parameter ! * @return The value */ public Iterator getCurrentServiceSelectors(BeanContextServices bcs, java.lang.Class serviceClass) *************** *** 60,66 **** /** ! * Getter for the defaultQueueConnectionFactory attribute * ! * @return The value of defaultQueueConnectionFactory attribute */ public QueueConnectionFactory getDefaultQueueConnectionFactory() --- 61,67 ---- /** ! * Getter for the defaultQueueConnectionFactory attribute * ! * @return The value of defaultQueueConnectionFactory attribute */ public QueueConnectionFactory getDefaultQueueConnectionFactory() *************** *** 83,89 **** /** ! * Getter for the defaultTopicConnectionFactory attribute * ! * @return The value of defaultTopicConnectionFactory attribute */ public TopicConnectionFactory getDefaultTopicConnectionFactory() --- 84,90 ---- /** ! * Getter for the defaultTopicConnectionFactory attribute * ! * @return The value of defaultTopicConnectionFactory attribute */ public TopicConnectionFactory getDefaultTopicConnectionFactory() *************** *** 106,116 **** /** ! * Getter for the service attribute * ! * @param bcs Description of Parameter ! * @param requestor Description of Parameter ! * @param serviceClass Description of Parameter ! * @param serviceSelector Description of Parameter ! * @return The value */ public Object getService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector) --- 107,117 ---- /** ! * Getter for the service attribute * ! * @param bcs Description of Parameter ! * @param requestor Description of Parameter ! * @param serviceClass Description of Parameter ! * @param serviceSelector Description of Parameter ! * @return The value */ public Object getService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Class serviceClass, java.lang.Object serviceSelector) *************** *** 133,141 **** /** ! * Description of the Method * ! * @param bcs Description of Parameter ! * @param requestor Description of Parameter ! * @param service Description of Parameter */ public void releaseService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Object service) --- 134,142 ---- /** ! * Description of the Method * ! * @param bcs Description of Parameter ! * @param requestor Description of Parameter ! * @param service Description of Parameter */ public void releaseService(BeanContextServices bcs, java.lang.Object requestor, java.lang.Object service) *************** *** 148,152 **** queueConnectionFactories.remove(proxy); if ((this.defaultQueueConnectionFactory >= queueConnectionFactories.size()) ! && (this.defaultQueueConnectionFactory > 0)) { this.defaultQueueConnectionFactory = queueConnectionFactories.size() - 1; --- 149,153 ---- queueConnectionFactories.remove(proxy); if ((this.defaultQueueConnectionFactory >= queueConnectionFactories.size()) ! && (this.defaultQueueConnectionFactory > 0)) { this.defaultQueueConnectionFactory = queueConnectionFactories.size() - 1; *************** *** 157,161 **** topicConnectionFactories.remove(proxy); if ((this.defaultTopicConnectionFactory >= topicConnectionFactories.size()) ! && (this.defaultTopicConnectionFactory > 0)) { this.defaultTopicConnectionFactory = topicConnectionFactories.size() - 1; --- 158,162 ---- topicConnectionFactories.remove(proxy); if ((this.defaultTopicConnectionFactory >= topicConnectionFactories.size()) ! && (this.defaultTopicConnectionFactory > 0)) { this.defaultTopicConnectionFactory = topicConnectionFactories.size() - 1; *************** *** 167,173 **** /** ! * Description of the Method * ! * @param type Description of the Parameter */ public void selectFactory(String type) --- 168,174 ---- /** ! * Description of the Method * ! * @param type Description of the Parameter */ public void selectFactory(String type) *************** *** 184,188 **** ! /** Description of the Method */ public void selectQueueConnectionFactory() { --- 185,189 ---- ! /** Description of the Method */ public void selectQueueConnectionFactory() { *************** *** 215,219 **** ! /** Description of the Method */ public void selectTopicConnectionFactory() { --- 216,220 ---- ! /** Description of the Method */ public void selectTopicConnectionFactory() { *************** *** 247,253 **** /** ! * Getter for the panel attribute * ! * @return The value of panel attribute */ protected JPanel getPanel() --- 248,254 ---- /** ! * Getter for the panel attribute * ! * @return The value of panel attribute */ protected JPanel getPanel() *************** *** 260,264 **** ! /** Description of the Method */ protected void initializeBeanContextResources() { --- 261,265 ---- ! /** Description of the Method */ protected void initializeBeanContextResources() { *************** *** 268,272 **** ! /** Description of the Method */ protected void releaseBeanContextResources() { --- 269,273 ---- ! /** Description of the Method */ protected void releaseBeanContextResources() { Index: DeliveryModeEditor.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/DeliveryModeEditor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DeliveryModeEditor.java 30 Apr 2002 21:13:20 -0000 1.2 --- DeliveryModeEditor.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 7,10 **** --- 7,12 ---- package net.sourceforge.ejtools.jndibrowser.model.jms; + import java.util.ResourceBundle; + import javax.jms.DeliveryMode; *************** *** 12,24 **** /** ! * Description of the Class * ! * @author letiembl ! * @created 2 janvier 2002 ! * @todo Javadoc to complete */ public class DeliveryModeEditor extends TagsEditor { ! /** Constructor for the DimensionEditor object */ public DeliveryModeEditor() { --- 14,31 ---- /** ! * Description of the Class * ! * @author letiemble ! * @created 2 janvier 2002 ! * @version $Revision$ ! * @todo Javadoc to complete */ public class DeliveryModeEditor extends TagsEditor { ! /** Bundle for I18N */ ! private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); ! ! ! /** Constructor for the DimensionEditor object */ public DeliveryModeEditor() { *************** *** 27,29 **** } } - --- 34,35 ---- Index: MessageProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/MessageProxy.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MessageProxy.java 30 Apr 2002 21:13:20 -0000 1.2 --- MessageProxy.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 18,39 **** /** ! * Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 ! * @todo Javadoc to complete ! * @todo Add log4j logs */ public class MessageProxy extends JNDIEntry { ! /** Description of the Field */ protected Message message = null; /** ! * Constructor for the MessageProxy object * ! * @param name Description of Parameter ! * @param message Description of Parameter */ public MessageProxy(String name, Message message) --- 18,40 ---- /** ! * Description of the Class * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! * @todo Add log4j logs */ public class MessageProxy extends JNDIEntry { ! /** Description of the Field */ protected Message message = null; /** ! * Constructor for the MessageProxy object * ! * @param name Description of Parameter ! * @param message Description of Parameter */ public MessageProxy(String name, Message message) *************** *** 45,181 **** /** ! * Description of the Method * ! * @param name Description of Parameter ! * @param message Description of Parameter ! * @return Description of the Returned Value */ ! public static MessageProxy createMessageProxy(String name, Message message) { ! if (TextMessage.class.isAssignableFrom(message.getClass())) ! { ! return new TextMessageProxy(name, message); ! } ! return new MessageProxy(name, message); } /** ! * Gets the expiration attribute of the MessageProxy object * ! * @return The expiration value ! * @exception JMSException Description of Exception */ ! public Date getExpiration() throws JMSException { ! return new Date(message.getJMSExpiration()); } /** ! * Gets the messageId attribute of the MessageProxy object * ! * @return The messageId value ! * @exception JMSException Description of Exception */ ! public String getMessageId() throws JMSException { ! return message.getJMSMessageID(); } /** ! * Gets the priority attribute of the MessageProxy object * ! * @return The priority value ! * @exception JMSException Description of Exception */ ! public int getPriority() throws JMSException { ! return message.getJMSPriority(); } /** ! * Gets the redelivered attribute of the MessageProxy object * ! * @return The redelivered value ! * @exception JMSException Description of Exception */ ! public boolean isRedelivered() throws JMSException { ! return message.getJMSRedelivered(); } /** ! * Gets the replyTo attribute of the MessageProxy object * ! * @return The replyTo value ! * @exception JMSException Description of Exception */ ! public Destination getReplyTo() throws JMSException { ! return message.getJMSReplyTo(); } /** ! * Gets the timestamp attribute of the MessageProxy object * ! * @return The timestamp value ! * @exception JMSException Description of Exception */ ! public Date getTimestamp() throws JMSException { ! return new Date(message.getJMSTimestamp()); } /** ! * Gets the type attribute of the MessageProxy object * ! * @return The type value ! * @exception JMSException Description of Exception */ ! public String getType() throws JMSException { ! return message.getJMSType(); } /** ! * Gets the destination attribute of the MessageProxy object * ! * @return The destination value ! * @exception JMSException Description of Exception */ ! public Destination getDestination() throws JMSException { ! return message.getJMSDestination(); } /** ! * Gets the deliveryMode attribute of the MessageProxy object * ! * @return The deliveryMode value ! * @exception JMSException Description of Exception */ ! public int getDeliveryMode() throws JMSException { ! return message.getJMSDeliveryMode(); } /** ! * Gets the correlationId attribute of the MessageProxy object * ! * @return The correlationId value ! * @exception JMSException Description of Exception */ ! public String getCorrelationId() throws JMSException { ! return message.getJMSCorrelationID(); } } --- 46,182 ---- /** ! * Gets the correlationId attribute of the MessageProxy object * ! * @return The correlationId value ! * @exception JMSException Description of Exception */ ! public String getCorrelationId() throws JMSException { ! return message.getJMSCorrelationID(); } /** ! * Gets the deliveryMode attribute of the MessageProxy object * ! * @return The deliveryMode value ! * @exception JMSException Description of Exception */ ! public int getDeliveryMode() throws JMSException { ! return message.getJMSDeliveryMode(); } /** ! * Gets the destination attribute of the MessageProxy object * ! * @return The destination value ! * @exception JMSException Description of Exception */ ! public Destination getDestination() throws JMSException { ! return message.getJMSDestination(); } /** ! * Gets the expiration attribute of the MessageProxy object * ! * @return The expiration value ! * @exception JMSException Description of Exception */ ! public Date getExpiration() throws JMSException { ! return new Date(message.getJMSExpiration()); } /** ! * Gets the messageId attribute of the MessageProxy object * ! * @return The messageId value ! * @exception JMSException Description of Exception */ ! public String getMessageId() throws JMSException { ! return message.getJMSMessageID(); } /** ! * Gets the priority attribute of the MessageProxy object * ! * @return The priority value ! * @exception JMSException Description of Exception */ ! public int getPriority() throws JMSException { ! return message.getJMSPriority(); } /** ! * Gets the replyTo attribute of the MessageProxy object * ! * @return The replyTo value ! * @exception JMSException Description of Exception */ ! public Destination getReplyTo() throws JMSException { ! return message.getJMSReplyTo(); } /** ! * Gets the timestamp attribute of the MessageProxy object * ! * @return The timestamp value ! * @exception JMSException Description of Exception */ ! public Date getTimestamp() throws JMSException { ! return new Date(message.getJMSTimestamp()); } /** ! * Gets the type attribute of the MessageProxy object * ! * @return The type value ! * @exception JMSException Description of Exception */ ! public String getType() throws JMSException { ! return message.getJMSType(); } /** ! * Gets the redelivered attribute of the MessageProxy object * ! * @return The redelivered value ! * @exception JMSException Description of Exception */ ! public boolean isRedelivered() throws JMSException { ! return message.getJMSRedelivered(); } /** ! * Description of the Method * ! * @param name Description of Parameter ! * @param message Description of Parameter ! * @return Description of the Returned Value */ ! public static MessageProxy createMessageProxy(String name, Message message) { ! if (TextMessage.class.isAssignableFrom(message.getClass())) ! { ! return new TextMessageProxy(name, message); ! } ! return new MessageProxy(name, message); } } Index: QueueProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/QueueProxy.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** QueueProxy.java 30 Apr 2002 21:13:20 -0000 1.2 --- QueueProxy.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 29,55 **** /** ! * Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 ! * @todo Javadoc to complete ! * @todo Add log4j logs ! * @todo Message sending to transform ! * @todo Other type of message to create ! * @todo More parameters for creation of message */ public class QueueProxy extends JNDIEntry { ! /** Description of the Field */ ! private Queue queue = null; ! /** Description of the Field */ private int count = 0; /** ! * Constructor for the JMSQueue object * ! * @param o Description of Parameter ! * @exception Exception Description of Exception */ public QueueProxy(Object o) throws Exception --- 29,56 ---- /** ! * Description of the Class * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! * @todo Add log4j logs ! * @todo Message sending to transform ! * @todo Other type of message to create ! * @todo More parameters for creation of message */ public class QueueProxy extends JNDIEntry { ! /** Description of the Field */ private int count = 0; + /** Description of the Field */ + private Queue queue = null; /** ! * Constructor for the JMSQueue object * ! * @param o Description of Parameter ! * @exception Exception Description of Exception */ public QueueProxy(Object o) throws Exception *************** *** 60,87 **** /** ! * Gets the count attribute of the JMSQueue object ! * ! * @return The count value ! */ ! public int getCount() ! { ! return count; ! } ! ! ! /** ! * Description of the Method * ! * @return Description of the Returned Value */ ! public String toString() { ! return name == null ? "Undefined" : (name + " (" + count + ")"); ! } ! - /** Description of the Method */ - public void createMessage() - { // Get a connection on the default factory QueueConnection queueConnection = getQueueConnection(); --- 61,77 ---- /** ! * Description of the Method * ! * @todo Add Log4j log */ ! public void browse() { ! // Clean the Queue ! Iterator iterator = iterator(); ! while (iterator.hasNext()) ! { ! remove(iterator.next()); ! } // Get a connection on the default factory QueueConnection queueConnection = getQueueConnection(); *************** *** 90,104 **** try { Message message = null; QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); ! QueueSender queueSender = queueSession.createSender(queue); ! message = queueSession.createMessage(); ! queueSender.send(message); queueSession.close(); } ! catch (JMSException e) { System.out.println("Exception occurred: " + e.toString()); --- 80,110 ---- try { + int oldCount = count; Message message = null; QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); ! QueueBrowser queueBrowser = queueSession.createBrowser(queue); ! count = 0; + Enumeration enum = queueBrowser.getEnumeration(); + System.out.println("Enumeration " + enum); + while (enum.hasMoreElements()) + { + message = (Message) enum.nextElement(); + MessageProxy newMessage = MessageProxy.createMessageProxy("Message " + count, message); + + count++; + System.out.println("Count is " + count); + + add(newMessage); + } + + firePropertyChange("count", new Integer(oldCount), new Integer(count)); + + queueBrowser.close(); queueSession.close(); } ! catch (Exception e) { System.out.println("Exception occurred: " + e.toString()); *************** *** 117,132 **** } } - // Browse the content - this.browse(); } } ! /** ! * Description of the Method ! * ! * @param text Description of Parameter ! */ ! public void createTextMessage(String text) { // Get a connection on the default factory --- 123,132 ---- } } } } ! /** Description of the Method */ ! public void createMessage() { // Get a connection on the default factory *************** *** 136,146 **** try { ! TextMessage message = null; QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); QueueSender queueSender = queueSession.createSender(queue); ! message = queueSession.createTextMessage(); ! message.setText(text); queueSender.send(message); --- 136,145 ---- try { ! Message message = null; QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); QueueSender queueSender = queueSession.createSender(queue); ! message = queueSession.createMessage(); queueSender.send(message); *************** *** 171,187 **** /** ! * Description of the Method * ! * @todo Add Log4j log */ ! public void browse() { - // Clean the Queue - Iterator iterator = iterator(); - while (iterator.hasNext()) - { - remove(iterator.next()); - } - // Get a connection on the default factory QueueConnection queueConnection = getQueueConnection(); --- 170,179 ---- /** ! * Description of the Method * ! * @param text Description of Parameter */ ! public void createTextMessage(String text) { // Get a connection on the default factory QueueConnection queueConnection = getQueueConnection(); *************** *** 190,220 **** try { ! int oldCount = count; ! Message message = null; QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); ! QueueBrowser queueBrowser = queueSession.createBrowser(queue); ! ! count = 0; ! ! Enumeration enum = queueBrowser.getEnumeration(); ! System.out.println("Enumeration " + enum); ! while (enum.hasMoreElements()) ! { ! message = (Message) enum.nextElement(); ! MessageProxy newMessage = MessageProxy.createMessageProxy("Message " + count, message); ! ! count++; ! System.out.println("Count is " + count); ! ! add(newMessage); ! } ! firePropertyChange("count", new Integer(oldCount), new Integer(count)); - queueBrowser.close(); queueSession.close(); } ! catch (Exception e) { System.out.println("Exception occurred: " + e.toString()); --- 182,197 ---- try { ! TextMessage message = null; QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); ! QueueSender queueSender = queueSession.createSender(queue); ! message = queueSession.createTextMessage(); ! message.setText(text); ! queueSender.send(message); queueSession.close(); } ! catch (JMSException e) { System.out.println("Exception occurred: " + e.toString()); *************** *** 233,246 **** } } } } /** ! * Getter for the queueConnection attribute * ! * @return The value ! * @todo Add Log4j log */ protected QueueConnection getQueueConnection() --- 210,247 ---- } } + // Browse the content + this.browse(); } } + /** + * Gets the count attribute of the JMSQueue object + * + * @return The count value + */ + public int getCount() + { + return count; + } + /** ! * Description of the Method * ! * @return Description of the Returned Value ! */ ! public String toString() ! { ! return name == null ? "Undefined" : (name + " (" + count + ")"); ! } ! ! ! ! /** ! * Getter for the queueConnection attribute ! * ! * @return The value ! * @todo Add Log4j log */ protected QueueConnection getQueueConnection() *************** *** 266,273 **** /** ! * Getter for the queueConnectionFactory attribute * ! * @return The value ! * @todo Add Log4j log */ protected QueueConnectionFactory getQueueConnectionFactory() --- 267,274 ---- /** ! * Getter for the queueConnectionFactory attribute * ! * @return The value ! * @todo Add Log4j log */ protected QueueConnectionFactory getQueueConnectionFactory() Index: TextMessageProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/TextMessageProxy.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TextMessageProxy.java 30 Apr 2002 21:13:20 -0000 1.2 --- TextMessageProxy.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 15,32 **** /** ! *Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 ! * @todo Javadoc to complete ! * @todo Add log4j logs */ public class TextMessageProxy extends MessageProxy { /** ! *Constructor for the MessageProxy object * ! * @param name Description of Parameter ! * @param message Description of Parameter */ public TextMessageProxy(String name, Message message) --- 15,33 ---- /** ! * Description of the Class * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! * @todo Add log4j logs */ public class TextMessageProxy extends MessageProxy { /** ! * Constructor for the MessageProxy object * ! * @param name Description of Parameter ! * @param message Description of Parameter */ public TextMessageProxy(String name, Message message) *************** *** 37,44 **** /** ! *Gets the text attribute of the JMSMessage object * ! * @return The text value ! * @exception JMSException Description of Exception */ public String getText() throws JMSException --- 38,45 ---- /** ! * Gets the text attribute of the JMSMessage object * ! * @return The text value ! * @exception JMSException Description of Exception */ public String getText() throws JMSException Index: TopicProxy.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/net/sourceforge/ejtools/jndibrowser/model/jms/TopicProxy.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TopicProxy.java 30 Apr 2002 21:13:20 -0000 1.2 --- TopicProxy.java 2 May 2002 20:52:10 -0000 1.3 *************** *** 25,46 **** /** ! *Description of the Class * ! * @author letiembl ! * @created 13 décembre 2001 ! * @todo Javadoc to complete ! * @todo Add log4j logs */ public class TopicProxy extends JNDIEntry { ! /** Description of the Field */ private Topic topic = null; /** ! *Constructor for the JMSTopic object * ! * @param o Description of Parameter ! * @exception Exception Description of Exception */ public TopicProxy(Object o) throws Exception --- 25,47 ---- /** ! * Description of the Class * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! * @todo Add log4j logs */ public class TopicProxy extends JNDIEntry { ! /** Description of the Field */ private Topic topic = null; /** ! * Constructor for the JMSTopic object * ! * @param o Description of Parameter ! * @exception Exception Description of Exception */ public TopicProxy(Object o) throws Exception *************** *** 51,57 **** /** ! *Description of the Method * ! * @param text Description of Parameter */ public void createTextMessage(String text) --- 52,58 ---- /** ! * Description of the Method * ! * @param text Description of Parameter */ public void createTextMessage(String text) |
From: Laurent E. <let...@us...> - 2002-05-02 19:43:39
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util In directory usw-pr-cvs1:/tmp/cvs-serv7824/common/src/main/net/sourceforge/ejtools/util Modified Files: ClassTools.java JNDI.java LimitedStack.java Sort.java Log Message: Add some JavaDocs Index: ClassTools.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util/ClassTools.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Index: JNDI.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util/JNDI.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Index: LimitedStack.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util/LimitedStack.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Index: Sort.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/util/Sort.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 |
From: Laurent E. <let...@us...> - 2002-05-02 19:43:39
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/servlet/http In directory usw-pr-cvs1:/tmp/cvs-serv7824/common/src/main/net/sourceforge/ejtools/servlet/http Modified Files: CharResponseWrapper.java StringResponseWrapper.java XSLFilter.java Log Message: Add some JavaDocs Index: CharResponseWrapper.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/servlet/http/CharResponseWrapper.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Index: StringResponseWrapper.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/servlet/http/StringResponseWrapper.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Index: XSLFilter.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/servlet/http/XSLFilter.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 |