Commit Graph

51 Commits

Author SHA1 Message Date
mdb 5cad47a365 Be more verbose about dumping methods and fields.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@274 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 06:23:08 +00:00
mdb 6a1e92bd56 Added shaper's suggestion.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@273 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 01:58:55 +00:00
mdb 69a8354a53 Release 1.01 prep.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@271 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 01:32:00 +00:00
mdb 6bda784d0b Updates.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@270 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 01:31:46 +00:00
mdb 3d4face77e Added a NEWS file for keeping track of changes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@268 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 01:15:02 +00:00
mdb 3a44794415 Added copyright header.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@265 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 00:58:49 +00:00
mdb 243d5c2c2d Switched to using a Pageable in hopes that this would cause Java to allow
the user to print only particular pages, but it doesn't seem to make use
of the pageable information to do that. Alas.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@264 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 00:58:15 +00:00
mdb 2b933c195d Added a whole UI for browsing the visualizations on the screen.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@263 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 00:45:56 +00:00
mdb 99ce178d1c Abort printing if the user cancels the print setup dialog.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@262 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 00:41:53 +00:00
mdb 9bbb5e8f58 Added support for rendering a particular page of the visualization and
made viz panel return a preferred size that makes sense (it preferrs to be
one page size as rendered to the screen: which is 72 dpi, but I should
look into whether or not I can avoid hard coding that).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@260 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 00:05:03 +00:00
mdb 121085cea7 Stick our viz panel in a panel with a border around it so that it's not
pressed up against the edge of the window.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@259 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-14 00:04:08 +00:00
mdb 9b4e93bee8 Lay ourselves out to our preferred size rather than a hardcoded size.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@258 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-13 23:58:56 +00:00
mdb f0807a6878 Use SwingUtil to center the frame.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@257 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-13 23:43:20 +00:00
mdb eee679513e Need to call super.paintComponent() for painting to work properly.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@256 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-13 23:43:09 +00:00
mdb 467ae03b3a Removed no longer used constant definitions.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@255 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-13 23:42:43 +00:00
mdb 3e9e45725b Wasn't included the classpath from the environment.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@254 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-13 23:30:52 +00:00
mdb 6a563f89f9 Added license headers, fixed LGPL references.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@250 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 04:36:58 +00:00
mdb 43cf7422ee Edits.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@249 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 04:21:18 +00:00
mdb 6dfb1d4ada Exclude .cvsignore files from the distribution.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@248 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 04:21:13 +00:00
mdb 4ddd0fbf02 Numerous cleanups in preparation for public release.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@247 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 03:59:21 +00:00
mdb 5ea831c2fd Notes!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@246 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 03:19:46 +00:00
mdb bbf9a4d836 No longer need this class now that we're using Java 2D for rendering.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@245 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 03:11:19 +00:00
mdb 475e87e246 Explain what's going on here.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@244 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 03:10:58 +00:00
mdb 75ded64bea Ignore jar files.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@243 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 02:53:15 +00:00
mdb 2eb51ccd4e Created a script for invoking viztool easily.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@242 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 02:52:51 +00:00
mdb 80b1b10d27 Not to freak out if an exclusion list is not provided.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@241 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 02:40:44 +00:00
mdb c618f44ce6 Use proper location of samskivert home page.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@240 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 02:40:25 +00:00
mdb 460a96fadb Catch NoClassDefFoundError and deal with it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@239 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-12 02:40:02 +00:00
mdb 6dcdfbd7bc Allow the specification of packages to exclude from the output via
-Dexclude=pkg:pkg:...


git-svn-id: https://samskivert.googlecode.com/svn/trunk@210 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 21:25:46 +00:00
mdb 3bfa1a6a6b Ignore anonymous classes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@209 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 20:35:46 +00:00
mdb 299cfb8bfc Sort our chains and subchains by class name.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@208 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 20:30:53 +00:00
mdb 2ba1cd0401 Added support for breaking chains apart when they are too big to fit on a
page.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@206 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 20:07:33 +00:00
mdb e78b957839 Modified code to deal better with splitting chain groups across pages. It
still chokes if a single chain won't fit on a page, but what to do there
is complicated and non-obvious.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@205 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 18:07:35 +00:00
mdb 8e80f60a40 Use rt.jar if classes.zip doesn't exist.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@204 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 18:06:02 +00:00
mdb 539f587813 Use sensible margins; added support for rendering interfaces implemented
and inner classes declared within the box for the appropriate class.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@193 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 07:18:09 +00:00
mdb c695cdeb41 Pick fonts based on whether we're printing or displaying on screen.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@192 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 06:01:08 +00:00
mdb 8efe315270 Removed CascadingConstants because we don't have two classes that
reference the constants any longer.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@191 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 05:31:37 +00:00
mdb ee3e32fe5a Use a particular font for the group titles. Removed bogus setFont() from
top level.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@190 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 05:28:46 +00:00
mdb f572956f73 Removed more debug logging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@189 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 05:23:49 +00:00
mdb 07bbe0dd4d Parse arguments less stupidly.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@188 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 05:21:33 +00:00
mdb c34ca2cfc3 Fixed text alignment within outline boxes; removed some debug logging;
modified code to use italicized font for interface chains.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@187 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 05:16:16 +00:00
mdb 79b7065abf Switched to rendering via the Java2D graphics API. Finished up first pass.
Everything mostly works and I can visualize my projects and end up with a
useful set of printouts.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@186 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 01:54:19 +00:00
mdb b28665494b More progress. Har!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@185 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-14 00:55:21 +00:00
mdb e8dcfce0db A simple class for dumping reflection info from a specified class.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@184 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-14 00:51:13 +00:00
mdb 12b2fab254 Mo' betta progress.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@182 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 23:25:13 +00:00
mdb 1c874bd705 Initial revision of visualizer package which contains the code to take a
list of classes, arrange them in some sensible order and then generate an
output (initially postscript) visualization (diagram).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@161 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-04 18:24:07 +00:00
mdb 893eb64605 Created filter enumerator which allows one enumerator to filter the output
of another. Created Enumerator interface which allows all enumerators to
be accessed the same way. Created simple package enumerator that filters
out all classes not in or below a particular package.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@160 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-04 18:22:26 +00:00
mdb 74fe0d194c Claim to use the Jakarta regexp package even though we don't yet (but we
will soon enough).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@159 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-04 18:20:09 +00:00
mdb f273548b58 Created facilities for enumerating all of the classes available via the
classpath.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@158 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-14 20:57:15 +00:00
mdb e31f0f2706 Whoops, unborked the package name.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@157 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-14 20:56:54 +00:00