jarspy-commits Mailing List for JarSpy- Java Archive Spying Utility (Page 7)
Status: Beta
Brought to you by:
brown_j
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(39) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(39) |
Feb
(12) |
Mar
|
Apr
(10) |
May
|
Jun
(24) |
Jul
(38) |
Aug
(9) |
Sep
(58) |
Oct
(34) |
Nov
|
Dec
(13) |
2003 |
Jan
(64) |
Feb
(3) |
Mar
(17) |
Apr
(20) |
May
(8) |
Jun
(3) |
Jul
|
Aug
(6) |
Sep
(6) |
Oct
(1) |
Nov
|
Dec
|
2005 |
Jan
(41) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jeff B. <br...@us...> - 2003-01-25 03:46:21
|
Update of /cvsroot/jarspy/JarSpy In directory sc8-pr-cvs1:/tmp/cvs-serv18065 Modified Files: build.number Log Message: updated build number Index: build.number =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.number,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** build.number 3 Jan 2003 00:22:02 -0000 1.17 --- build.number 25 Jan 2003 03:46:18 -0000 1.18 *************** *** 1,3 **** #Build Number for ANT. Do not edit! ! #Thu Jan 02 18:22:36 CST 2003 ! build.number=21 --- 1,3 ---- #Build Number for ANT. Do not edit! ! #Fri Jan 24 21:46:44 CST 2003 ! build.number=22 |
From: Jeff B. <br...@us...> - 2003-01-25 03:46:02
|
Update of /cvsroot/jarspy/JarSpy In directory sc8-pr-cvs1:/tmp/cvs-serv17957 Modified Files: build.xml Log Message: add plug-jar to release target Index: build.xml =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** build.xml 25 Jan 2003 03:44:52 -0000 1.20 --- build.xml 25 Jan 2003 03:45:59 -0000 1.21 *************** *** 85,89 **** </target> ! <target name="buildReleaseJar" depends="clean, updateBuildNumber, jar"/> <!-- target to run the application --> --- 85,89 ---- </target> ! <target name="buildReleaseJar" depends="clean, updateBuildNumber, jar, plugin-jar"/> <!-- target to run the application --> |
From: Jeff B. <br...@us...> - 2003-01-25 03:44:56
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/intellij/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv17677/src/com/ociweb/jarspy/intellij/plugin Added Files: ConfigComponent.java JarSpyIntelliJPlugin.java JarSpyIntelliJPluginAction.java Log Message: initial stab at IntelliJ IDEA plugin --- NEW FILE: ConfigComponent.java --- package com.ociweb.jarspy.intellij.plugin; import com.intellij.openapi.components.ApplicationComponent; import com.intellij.openapi.options.Configurable; import com.intellij.openapi.options.ConfigurationException; import com.ociweb.jarspy.gui.JarSpyInfoPanel; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JComponent; public class ConfigComponent implements Configurable, ApplicationComponent { private JComponent component = null; public String getDisplayName() { return "JarSpy"; } public Icon getIcon() { return new ImageIcon(getClass().getResource("/com/ociweb/jarspy/gui/images/jaricon32.gif")); } public String getHelpTopic() { return "help"; } public synchronized JComponent createComponent() { if (component == null) component = new JarSpyInfoPanel(); return component; } public boolean isModified() { return false; } public void apply() throws ConfigurationException { } public void reset() { } public synchronized void disposeUIResources() { component = null; } public String getComponentName() { return "JarSpy"; } public void initComponent() { } public void disposeComponent() { } } --- NEW FILE: JarSpyIntelliJPlugin.java --- package com.ociweb.jarspy.intellij.plugin; import com.intellij.openapi.components.ProjectComponent; import com.intellij.openapi.project.Project; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.wm.ToolWindowManager; import com.intellij.openapi.wm.ToolWindowAnchor; import com.ociweb.jarspy.JarInspector; import com.ociweb.jarspy.gui.ClassesViewer; import java.io.File; import java.io.IOException; public class JarSpyIntelliJPlugin implements ProjectComponent { private Project myProject = null; private Logger logger; private JarInspector jarInspector = new JarInspector(); public JarSpyIntelliJPlugin(Project project) { myProject = project; logger = Logger.getInstance(getClass().getName()); } public void projectOpened() { ToolWindowManager twm = ToolWindowManager.getInstance(myProject); ClassesViewer cv = new ClassesViewer(jarInspector); twm.registerToolWindow("JarSpy", cv, ToolWindowAnchor.BOTTOM); } public void projectClosed() { ToolWindowManager twm = ToolWindowManager.getInstance(myProject); twm.unregisterToolWindow("JarSpy"); } public String getComponentName() { return "ToolWindow.JarSpy"; } public void initComponent() { } public void disposeComponent() { } public void updateFile(String pathToFile) { try { jarInspector.setFile(new File(pathToFile)); } catch (IOException e) { logger.error(e); } } } --- NEW FILE: JarSpyIntelliJPluginAction.java --- package com.ociweb.jarspy.intellij.plugin; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.project.Project; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowManager; public class JarSpyIntelliJPluginAction extends AnAction { public void update(AnActionEvent e) { VirtualFile file = (VirtualFile) e.getDataContext().getData("virtualFile"); Presentation presentation = e.getPresentation(); if (file == null || file.getExtension() == null) presentation.setVisible(false); else if (file.getExtension().equalsIgnoreCase("jar") || file.getExtension().equalsIgnoreCase("zip") || file.getExtension().equalsIgnoreCase("ear") || file.getExtension().equalsIgnoreCase("war")) presentation.setVisible(true); else presentation.setVisible(false); } public void actionPerformed(AnActionEvent e) { final VirtualFile file = (VirtualFile) e.getDataContext().getData("virtualFile"); Project p = (Project) e.getDataContext().getData("project"); ToolWindow tw = ToolWindowManager.getInstance(p).getToolWindow("JarSpy"); if (tw != null) { tw.activate(null); JarSpyIntelliJPlugin jsip = (JarSpyIntelliJPlugin) p.getComponent(JarSpyIntelliJPlugin.class); jsip.updateFile(file.getPath()); } } } |
From: Jeff B. <br...@us...> - 2003-01-25 03:44:56
|
Update of /cvsroot/jarspy/JarSpy/lib In directory sc8-pr-cvs1:/tmp/cvs-serv17677/lib Modified Files: .cvsignore Log Message: initial stab at IntelliJ IDEA plugin Index: .cvsignore =================================================================== RCS file: /cvsroot/jarspy/JarSpy/lib/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .cvsignore 14 Feb 2002 02:03:17 -0000 1.1 --- .cvsignore 25 Jan 2003 03:44:52 -0000 1.2 *************** *** 1 **** --- 1,2 ---- jarspy.jar + jarspy-plugin.jar |
From: Jeff B. <br...@us...> - 2003-01-25 03:44:55
|
Update of /cvsroot/jarspy/JarSpy/META-INF In directory sc8-pr-cvs1:/tmp/cvs-serv17677/META-INF Added Files: plugin.xml Log Message: initial stab at IntelliJ IDEA plugin --- NEW FILE: plugin.xml --- <idea-plugin> <!-- Plugin name --> <name>JarSpyPlugin</name> <!-- Description --> <description>JarSpy Plugin</description> <!-- Plugin version --> <version>1.0</version> <!-- Plugin's vendor --> <vendor>Jeff Brown</vendor> <!-- Minimum and maximum IDEA version plugin is supposed to work with --> <idea-version min="3.0" max="3.1"/> <project-components> <component> <implementation-class>com.ociweb.jarspy.intellij.plugin.JarSpyIntelliJPlugin</implementation-class> <interface-class>com.ociweb.jarspy.intellij.plugin.JarSpyIntelliJPlugin</interface-class> </component> </project-components> <application-components> <component> <implementation-class>com.ociweb.jarspy.intellij.plugin.ConfigComponent</implementation-class> </component> </application-components> <!-- Component's actions --> <actions> <action id="JarSpy.JarSpy" class="com.ociweb.jarspy.intellij.plugin.JarSpyIntelliJPluginAction" text="Inspect With JarSpy" description="JarSpy Plugin"/> <group> <reference id="JarSpy.JarSpy"/> <add-to-group group-id="ProjectViewPopupMenu" anchor="last"/> </group> </actions> </idea-plugin> |
From: Jeff B. <br...@us...> - 2003-01-25 03:44:55
|
Update of /cvsroot/jarspy/JarSpy In directory sc8-pr-cvs1:/tmp/cvs-serv17677 Modified Files: .build.properties build.xml Log Message: initial stab at IntelliJ IDEA plugin Index: .build.properties =================================================================== RCS file: /cvsroot/jarspy/JarSpy/.build.properties,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** .build.properties 18 Oct 2002 02:49:21 -0000 1.21 --- .build.properties 25 Jan 2003 03:44:52 -0000 1.22 *************** *** 8,11 **** --- 8,14 ---- metouia.jar=${lib.dir}/metouia.jar manifest.file=META-INF/MANIFEST.MF + plugin.descriptor.file=META-INF/plugin.xml + plugin.jar.file=${lib.dir}/jarspy-plugin.jar + intellij.openapi.jar=/home/jeff/apps/IntelliJ-IDEA-3.0.1/lib/openapi.jar dist.dir=dist Index: build.xml =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** build.xml 18 Oct 2002 02:49:21 -0000 1.19 --- build.xml 25 Jan 2003 03:44:52 -0000 1.20 *************** *** 9,13 **** <pathelement location="${jode.jar}"/> <pathelement location="${kunststoff.jar}"/> ! <pathelement location="${metouia.jar}"/> </path> --- 9,14 ---- <pathelement location="${jode.jar}"/> <pathelement location="${kunststoff.jar}"/> ! <pathelement location="${metouia.jar}"/> ! <pathelement location="${intellij.openapi.jar}"/> </path> *************** *** 45,49 **** description="--> deletes all target files"> <delete dir="${build.dir}"/> ! <delete file="${jar.file}"/> <delete dir="${javadoc.dir}"/> <delete dir="${dist.dir}"/> --- 46,51 ---- description="--> deletes all target files"> <delete dir="${build.dir}"/> ! <delete file="${jar.file}"/> ! <delete file="${plugin.jar.file}"/> <delete dir="${javadoc.dir}"/> <delete dir="${dist.dir}"/> *************** *** 51,63 **** <!-- build the jar file --> ! <target name="jar" ! depends="compile, images, props" ! description="--> Builds the jar file"> ! <mkdir dir="${lib.dir}"/> ! <jar jarfile="${jar.file}" ! manifest="${manifest.file}" ! basedir="${build.dir}" ! excludes="**/.dependency-info/"/> ! </target> <!-- update the build number --> --- 53,78 ---- <!-- build the jar file --> ! <target name="jar" ! depends="compile, images, props" ! description="--> Builds the jar file"> ! <mkdir dir="${lib.dir}"/> ! <jar jarfile="${jar.file}" ! manifest="${manifest.file}" ! basedir="${build.dir}" ! excludes="**/.dependency-info/"/> ! </target> ! ! <target name="plugin-jar" ! depends="compile, images, props" ! description="--> Builds the IntelliJ plugin jar file"> ! <mkdir dir="${lib.dir}"/> ! ! <jar jarfile="${plugin.jar.file}"> ! <fileset dir="${build.dir}" ! excludes="**/.dependency-info/"/> ! <fileset dir="${basedir}" ! includes="${plugin.descriptor.file}"/> ! </jar> ! </target> <!-- update the build number --> |
From: Jeff B. <br...@us...> - 2003-01-25 03:44:04
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/intellij/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv17468/plugin Log Message: Directory /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/intellij/plugin added to the repository |
From: Jeff B. <br...@us...> - 2003-01-25 03:43:55
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/intellij In directory sc8-pr-cvs1:/tmp/cvs-serv17419/intellij Log Message: Directory /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/intellij added to the repository |
From: Jeff B. <br...@us...> - 2003-01-25 03:40:34
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui In directory sc8-pr-cvs1:/tmp/cvs-serv16597 Modified Files: JarSpyInfoPanel.java Log Message: made public Index: JarSpyInfoPanel.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/JarSpyInfoPanel.java,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** JarSpyInfoPanel.java 3 Jan 2003 00:12:05 -0000 1.25 --- JarSpyInfoPanel.java 25 Jan 2003 03:40:31 -0000 1.26 *************** *** 32,38 **** * @version $Id$ */ ! class JarSpyInfoPanel extends JPanel { ! JarSpyInfoPanel() { super(new GridBagLayout()); --- 32,38 ---- * @version $Id$ */ ! public class JarSpyInfoPanel extends JPanel { ! public JarSpyInfoPanel() { super(new GridBagLayout()); |
From: Jeff B. <br...@us...> - 2003-01-25 01:28:37
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/images In directory sc8-pr-cvs1:/tmp/cvs-serv31460 Removed Files: list_mode.gif tree_mode.gif Log Message: --- list_mode.gif DELETED --- --- tree_mode.gif DELETED --- |
From: Jeff B. <br...@us...> - 2003-01-25 01:28:16
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/tree In directory sc8-pr-cvs1:/tmp/cvs-serv31272/tree Modified Files: JarSpyClassTree.java Log Message: significant refactoring of viewer code from JarSpyGUI into ClassesViewer Index: JarSpyClassTree.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/tree/JarSpyClassTree.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JarSpyClassTree.java 20 Jul 2002 18:12:23 -0000 1.1 --- JarSpyClassTree.java 25 Jan 2003 01:28:11 -0000 1.2 *************** *** 37,45 **** implements JarInspectorListener, JarFileSelectionListener { public JarSpyClassTree(JarSpyGUI jarSpyGUI, JarInspector inspector) { ! inspector.addJarInspectorListener(this); jarSpyGUI.addJarFileSelectionListener(this); - setModel(new JarSpyTreeModel()); } --- 37,49 ---- implements JarInspectorListener, JarFileSelectionListener { + public JarSpyClassTree(JarInspector inspector) { + inspector.addJarInspectorListener(this); + setModel(new JarSpyTreeModel()); + } + public JarSpyClassTree(JarSpyGUI jarSpyGUI, JarInspector inspector) { ! this(inspector); jarSpyGUI.addJarFileSelectionListener(this); } |
From: Jeff B. <br...@us...> - 2003-01-25 01:28:16
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails In directory sc8-pr-cvs1:/tmp/cvs-serv31272/classdetails Modified Files: ClassDetailsPanel.java FieldsTab.java GeneralTab.java MethodsTab.java Log Message: significant refactoring of viewer code from JarSpyGUI into ClassesViewer Index: ClassDetailsPanel.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails/ClassDetailsPanel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ClassDetailsPanel.java 14 Sep 2002 00:42:52 -0000 1.3 --- ClassDetailsPanel.java 25 Jan 2003 01:28:10 -0000 1.4 *************** *** 21,26 **** import com.ociweb.jarspy.ClassInfo; import com.ociweb.jarspy.gui.ClassSelectionListener; import com.ociweb.jarspy.gui.JarFileSelectionListener; - import com.ociweb.jarspy.gui.JarSpyGUI; import java.awt.CardLayout; import java.io.File; --- 21,26 ---- import com.ociweb.jarspy.ClassInfo; import com.ociweb.jarspy.gui.ClassSelectionListener; + import com.ociweb.jarspy.gui.ClassesViewer; import com.ociweb.jarspy.gui.JarFileSelectionListener; import java.awt.CardLayout; import java.io.File; *************** *** 42,48 **** private ClassDetailTabbedPane tabbedPane = new ClassDetailTabbedPane(); ! public ClassDetailsPanel(JarSpyGUI gui) { ! gui.addClassSelectionListener(this); ! gui.addJarFileSelectionListener(this); setLayout(cardLayout); --- 42,47 ---- private ClassDetailTabbedPane tabbedPane = new ClassDetailTabbedPane(); ! public ClassDetailsPanel(ClassesViewer viewer) { ! viewer.addClassSelectionListener(this); setLayout(cardLayout); Index: FieldsTab.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails/FieldsTab.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** FieldsTab.java 4 Oct 2002 01:57:16 -0000 1.5 --- FieldsTab.java 25 Jan 2003 01:28:10 -0000 1.6 *************** *** 19,23 **** package com.ociweb.jarspy.gui.classdetails; - import com.ociweb.classinfo.CRField; import com.ociweb.jarspy.ClassInfo; import java.awt.BorderLayout; --- 19,22 ---- Index: GeneralTab.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails/GeneralTab.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** GeneralTab.java 4 Oct 2002 02:34:42 -0000 1.4 --- GeneralTab.java 25 Jan 2003 01:28:10 -0000 1.5 *************** *** 23,29 **** import java.awt.GridBagConstraints; import java.awt.GridBagLayout; - import java.util.SortedSet; - import javax.swing.DefaultComboBoxModel; - import javax.swing.JComboBox; import javax.swing.JComponent; import javax.swing.JLabel; --- 23,26 ---- Index: MethodsTab.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/classdetails/MethodsTab.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** MethodsTab.java 4 Oct 2002 01:57:16 -0000 1.5 --- MethodsTab.java 25 Jan 2003 01:28:10 -0000 1.6 *************** *** 21,26 **** import com.ociweb.jarspy.ClassInfo; import java.awt.BorderLayout; - import java.util.SortedSet; import java.util.Iterator; import javax.swing.JTextArea; --- 21,26 ---- import com.ociweb.jarspy.ClassInfo; import java.awt.BorderLayout; import java.util.Iterator; + import java.util.SortedSet; import javax.swing.JTextArea; |
From: Jeff B. <br...@us...> - 2003-01-25 01:28:16
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/actions In directory sc8-pr-cvs1:/tmp/cvs-serv31272/actions Modified Files: ActionNames.java Removed Files: ChangeJarViewerComponentAction.java Log Message: significant refactoring of viewer code from JarSpyGUI into ClassesViewer Index: ActionNames.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/actions/ActionNames.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ActionNames.java 20 Jul 2002 18:12:23 -0000 1.2 --- ActionNames.java 25 Jan 2003 01:28:10 -0000 1.3 *************** *** 31,35 **** String DECOMPILE_ACTION = "Decompile Class"; String VIEW_JAR_CONTENTS_ACTION = "View Jar Contents"; - String SHOW_JAR_LIST_VIEW = "List View"; - String SHOW_JAR_TREE_VIEW = "Tree View"; } --- 31,33 ---- --- ChangeJarViewerComponentAction.java DELETED --- |
From: Jeff B. <br...@us...> - 2003-01-25 01:28:16
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui In directory sc8-pr-cvs1:/tmp/cvs-serv31272 Modified Files: JarSpyGUI.java Added Files: ClassesViewer.java Removed Files: JarSpyClassList.java JarSpyListCellRenderer.java Log Message: significant refactoring of viewer code from JarSpyGUI into ClassesViewer --- NEW FILE: ClassesViewer.java --- // JarSpy // Copyright (c) 2001, 2002 Jeff S. Brown // This file is part of JarSpy. // // JarSpy is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // JarSpy is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with JarSpy; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA package com.ociweb.jarspy.gui; import com.ociweb.jarspy.ClassInfo; import com.ociweb.jarspy.JarInspector; import com.ociweb.jarspy.gui.classdetails.ClassDetailsPanel; import com.ociweb.jarspy.gui.tree.JarSpyClassTree; import com.ociweb.jarspy.gui.tree.JarSpyClassTreeNode; import com.ociweb.jarspy.preferences.JarSpyPreferences; import com.ociweb.jarspy.preferences.JarSpyPreferencesFactory; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Container; import java.awt.Cursor; import java.awt.Font; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.swing.BorderFactory; import javax.swing.JComponent; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JSplitPane; import javax.swing.ListSelectionModel; import javax.swing.SwingUtilities; import javax.swing.JOptionPane; import javax.swing.event.ListSelectionEvent; import javax.swing.event.ListSelectionListener; import javax.swing.event.TreeSelectionEvent; import javax.swing.event.TreeSelectionListener; import javax.swing.tree.TreePath; /** * @author Jeff Brown * @version $Id: ClassesViewer.java,v 1.1 2003/01/25 01:28:10 brown_j Exp $ */ public class ClassesViewer extends JPanel implements/* ListSelectionListener,*/ TreeSelectionListener { // private JarInspector jarInspector = null; private ClassDetailsPanel classDetailPanel; // private JarSpyClassList classList; private JarSpyClassTree classTree; // private List jarFileSelectionListeners = new ArrayList(); private List classSelectionListeners = new ArrayList(); private JarSpyPreferences jarSpyPreferences = null; private JSplitPane splitter = null; public ClassesViewer(JarInspector jarInspector) { super(new BorderLayout()); // this.jarInspector = jarInspector; classDetailPanel = new ClassDetailsPanel(this); classTree = new JarSpyClassTree(jarInspector); // classList = new JarSpyClassList(jarInspector); // classList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); Container cont = this; splitter = new JSplitPane(); cont.add(BorderLayout.CENTER, splitter); splitter.setRightComponent(classDetailPanel); setJarViewComponent(classTree); // classList.addListSelectionListener(this); classTree.addTreeSelectionListener(this); jarSpyPreferences = JarSpyPreferencesFactory.getPreferences(); int dividerLocation = jarSpyPreferences.getMainDividerLocation(); splitter.setDividerLocation(dividerLocation); // if (initialFileToOpen == null) { // if a file path was not passed on the command line... // initialFileToOpen = jarSpyPreferences.getMostRecentJarFile(); // } // if (initialFileToOpen != null) { // try { // File jarFile = new File(initialFileToOpen); // if (jarFile.exists()) { // setFile(jarFile); // } // } catch (IOException e) { // e.printStackTrace(); // } // } } public void setFile(File file) throws IOException { classDetailPanel.jarFileSelectionChanged(file); classTree.jarFileSelectionChanged(file); // classList.jarFileSelectionChanged(file); // jarInspector.setFile(file); } // public void addJarFileSelectionListener(JarFileSelectionListener l) { // jarFileSelectionListeners.add(l); // } // public void addClassSelectionListener(ClassSelectionListener l) { classSelectionListeners.add(l); } // private void notifyClassSelectionListeners(ClassInfo classInfo) { for (int i = 0; i < classSelectionListeners.size(); i++) { ClassSelectionListener listener = (ClassSelectionListener) classSelectionListeners.get(i); listener.classSelected(classInfo); } } public void setJarViewComponent(Component viewComponent) { notifyClassSelectionListeners(null); int location = splitter.getDividerLocation(); JComponent viewPanel = createClassViewPanel(viewComponent); // update the components UI in case the look and feel has // changed. if the look and feel changes while the component // is not in the container, the components ui will not have been // updated yet SwingUtilities.updateComponentTreeUI(viewPanel); splitter.setLeftComponent(viewPanel); splitter.setDividerLocation(location); } public void savePreferences() { jarSpyPreferences.saveMainDividerLocation(splitter.getDividerLocation()); } private JComponent createClassViewPanel(Component viewComponent) { JPanel classListPanel = new JPanel(new BorderLayout(0, 1)); JLabel classesLabel = new JLabel(" Classes:"); classesLabel.setBorder (BorderFactory.createRaisedBevelBorder()); // classList.setFont(new Font("Courier", Font.PLAIN, 14)); classListPanel.add(BorderLayout.NORTH, classesLabel); classListPanel.add(BorderLayout.CENTER, new JScrollPane(viewComponent)); classListPanel.setBorder (BorderFactory.createRaisedBevelBorder()); return classListPanel; } /** * Called whenever the value of the selection changes. * @param tse the event that characterizes the change. */ public void valueChanged(TreeSelectionEvent tse) { setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); TreePath path = tse.getNewLeadSelectionPath(); if (path != null) { Object o = path.getLastPathComponent(); if (o instanceof JarSpyClassTreeNode) { JarSpyClassTreeNode jctn = (JarSpyClassTreeNode) o; ClassInfo classInfo = jctn.getClassInfo(); notifyClassSelectionListeners(classInfo); } else { notifyClassSelectionListeners(null); } } setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); } // public void valueChanged(ListSelectionEvent lse) { // // setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); // // if (!lse.getValueIsAdjusting()) { // Object o = classList.getSelectedValue(); // if (o instanceof ClassInfo) { // ClassInfo classInfo = (ClassInfo) o; // notifyClassSelectionListeners(classInfo); // } else if (o == null) { // notifyClassSelectionListeners(null); // } // } // setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); // } } Index: JarSpyGUI.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/JarSpyGUI.java,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** JarSpyGUI.java 3 Jan 2003 00:09:29 -0000 1.46 --- JarSpyGUI.java 25 Jan 2003 01:28:10 -0000 1.47 *************** *** 21,29 **** import com.ociweb.gui.ChangeLookAndFeelAction; import com.ociweb.gui.util.Splasher; - import com.ociweb.jarspy.ClassInfo; import com.ociweb.jarspy.JarInspector; import com.ociweb.jarspy.gui.actions.AboutAction; import com.ociweb.jarspy.gui.actions.ActionNames; - import com.ociweb.jarspy.gui.actions.ChangeJarViewerComponentAction; import com.ociweb.jarspy.gui.actions.DecompileAction; import com.ociweb.jarspy.gui.actions.ExitAction; --- 21,27 ---- *************** *** 32,46 **** import com.ociweb.jarspy.gui.actions.ViewJarContentsAction; import com.ociweb.jarspy.gui.actions.ViewManifestAction; - import com.ociweb.jarspy.gui.classdetails.ClassDetailsPanel; - import com.ociweb.jarspy.gui.tree.JarSpyClassTree; - import com.ociweb.jarspy.gui.tree.JarSpyClassTreeNode; import com.ociweb.jarspy.preferences.JarSpyPreferences; import com.ociweb.jarspy.preferences.JarSpyPreferencesFactory; import java.awt.BorderLayout; - import java.awt.Component; import java.awt.Container; - import java.awt.Cursor; import java.awt.Dimension; - import java.awt.Font; import java.awt.Point; import java.awt.event.WindowListener; --- 30,38 ---- *************** *** 54,80 **** import java.util.jar.JarFile; import javax.swing.Action; - import javax.swing.BorderFactory; import javax.swing.ImageIcon; - import javax.swing.JComponent; import javax.swing.JFrame; - import javax.swing.JLabel; - import javax.swing.JList; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; - import javax.swing.JPanel; - import javax.swing.JScrollPane; - import javax.swing.JSplitPane; import javax.swing.JToolBar; - import javax.swing.JTree; - import javax.swing.ListSelectionModel; import javax.swing.SwingUtilities; import javax.swing.UIManager; - import javax.swing.event.ListSelectionEvent; - import javax.swing.event.ListSelectionListener; - import javax.swing.event.TreeSelectionEvent; - import javax.swing.event.TreeSelectionListener; - import javax.swing.tree.TreePath; /** --- 46,58 ---- *************** *** 82,104 **** * @version $Id$ */ ! public class JarSpyGUI extends JFrame ! implements ListSelectionListener, TreeSelectionListener { private JarInspector jarInspector = new JarInspector(); - private ClassDetailsPanel classDetailPanel; private Map actions = new HashMap(); - private JList classList; - private JTree classTree; private List jarFileSelectionListeners = new ArrayList(); - private List classSelectionListeners = new ArrayList(); private JarSpyPreferences jarSpyPreferences = null; ! private JSplitPane splitter = null; public JarSpyGUI(String initialFileToOpen) { super("JarSpy"); - classDetailPanel = new ClassDetailsPanel(this); - classTree = new JarSpyClassTree(this, jarInspector); - classList = new JarSpyClassList(this, jarInspector); - classList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); try { ImageIcon imageIcon = --- 60,73 ---- * @version $Id$ */ ! public class JarSpyGUI extends JFrame { private JarInspector jarInspector = new JarInspector(); private Map actions = new HashMap(); private List jarFileSelectionListeners = new ArrayList(); private JarSpyPreferences jarSpyPreferences = null; ! private ClassesViewer classesViewer = null; public JarSpyGUI(String initialFileToOpen) { super("JarSpy"); try { ImageIcon imageIcon = *************** *** 108,128 **** // not a big deal... } createActions(); Container cont = getContentPane(); - splitter = new JSplitPane(); cont.add(BorderLayout.NORTH, createToolBar()); StatusBar sb = new StatusBar(); ! addClassSelectionListener(sb); addJarFileSelectionListener(sb); cont.add(BorderLayout.SOUTH, sb); ! cont.add(BorderLayout.CENTER, splitter); ! splitter.setRightComponent(classDetailPanel); ! setJarViewComponent(classTree); addWindowListener((WindowListener) actions.get(ActionNames.EXIT_ACTION)); - classList.addListSelectionListener(this); - classTree.addTreeSelectionListener(this); setJMenuBar(createJMenuBar()); --- 77,93 ---- // not a big deal... } + classesViewer = new ClassesViewer(jarInspector); createActions(); Container cont = getContentPane(); cont.add(BorderLayout.NORTH, createToolBar()); StatusBar sb = new StatusBar(); ! classesViewer.addClassSelectionListener(sb); addJarFileSelectionListener(sb); cont.add(BorderLayout.SOUTH, sb); ! cont.add(BorderLayout.CENTER, classesViewer); addWindowListener((WindowListener) actions.get(ActionNames.EXIT_ACTION)); setJMenuBar(createJMenuBar()); *************** *** 157,164 **** setSize(size); ! int dividerLocation = jarSpyPreferences.getMainDividerLocation(); ! splitter.setDividerLocation(dividerLocation); ! ! if(initialFileToOpen == null) { // if a file path was not passed on the command line... initialFileToOpen = jarSpyPreferences.getMostRecentJarFile(); --- 122,126 ---- setSize(size); ! if (initialFileToOpen == null) { // if a file path was not passed on the command line... initialFileToOpen = jarSpyPreferences.getMostRecentJarFile(); *************** *** 194,207 **** actions.put(ActionNames.VIEW_JAR_CONTENTS_ACTION, new ViewJarContentsAction(this)); - actions.put(ActionNames.SHOW_JAR_LIST_VIEW, - new ChangeJarViewerComponentAction(this, - ActionNames.SHOW_JAR_LIST_VIEW, - classList, - "/com/ociweb/jarspy/gui/images/list_mode.gif")); - actions.put(ActionNames.SHOW_JAR_TREE_VIEW, - new ChangeJarViewerComponentAction(this, - ActionNames.SHOW_JAR_TREE_VIEW, - classTree, - "/com/ociweb/jarspy/gui/images/tree_mode.gif")); } --- 156,159 ---- *************** *** 229,239 **** ((Action) actions.get(ActionNames.DECOMPILE_ACTION))); - menu = new JMenu("View"); - menuBar.add(menu); - menu.add(new JMenuItem - ((Action) actions.get(ActionNames.SHOW_JAR_LIST_VIEW))); - menu.add(new JMenuItem - ((Action) actions.get(ActionNames.SHOW_JAR_TREE_VIEW))); - menu = new JMenu("Look And Feel"); --- 181,184 ---- *************** *** 267,283 **** public void addClassSelectionListener(ClassSelectionListener l) { ! classSelectionListeners.add(l); ! } ! ! private void notifyClassSelectionListeners(ClassInfo classInfo) { ! for (int i = 0; i < classSelectionListeners.size(); i++) { ! ClassSelectionListener listener = ! (ClassSelectionListener) classSelectionListeners.get(i); ! listener.classSelected(classInfo); ! } } public void setFile(File file) throws IOException { notifyFileSelectionListeners(null); setTitle("JarSpy"); --- 212,221 ---- public void addClassSelectionListener(ClassSelectionListener l) { ! classesViewer.addClassSelectionListener(l); } public void setFile(File file) throws IOException { notifyFileSelectionListeners(null); + classesViewer.setFile(null); setTitle("JarSpy"); *************** *** 317,335 **** } - public void setJarViewComponent(Component viewComponent) { - notifyClassSelectionListeners(null); - int location = splitter.getDividerLocation(); - JComponent viewPanel = createClassViewPanel(viewComponent); - - // update the components UI in case the look and feel has - // changed. if the look and feel changes while the component - // is not in the container, the components ui will not have been - // updated yet - SwingUtilities.updateComponentTreeUI(viewPanel); - - splitter.setLeftComponent(viewPanel); - splitter.setDividerLocation(location); - } - private JToolBar createToolBar() { JToolBar toolBar = new JToolBar(); --- 255,258 ---- *************** *** 358,369 **** toolBar.add(new JarSpyToolbarButton - ((Action) actions.get(ActionNames.SHOW_JAR_TREE_VIEW))); - - toolBar.add(new JarSpyToolbarButton - ((Action) actions.get(ActionNames.SHOW_JAR_LIST_VIEW))); - - toolBar.addSeparator(); - - toolBar.add(new JarSpyToolbarButton ((Action) actions.get(ActionNames.ABOUT_ACTION))); --- 281,284 ---- *************** *** 372,378 **** private void savePreferences() { jarSpyPreferences.saveMainWindowPosition(getLocation()); jarSpyPreferences.saveMainWindowSize(getSize()); - jarSpyPreferences.saveMainDividerLocation(splitter.getDividerLocation()); jarSpyPreferences.savePreferredLookAndFeel(UIManager.getLookAndFeel().getClass().getName()); JarFile jarFile = jarInspector.getJarFile(); --- 287,293 ---- private void savePreferences() { + classesViewer.savePreferences(); jarSpyPreferences.saveMainWindowPosition(getLocation()); jarSpyPreferences.saveMainWindowSize(getSize()); jarSpyPreferences.savePreferredLookAndFeel(UIManager.getLookAndFeel().getClass().getName()); JarFile jarFile = jarInspector.getJarFile(); *************** *** 384,437 **** } jarSpyPreferences.flush(); - } - - private JComponent createClassViewPanel(Component viewComponent) { - JPanel classListPanel = new JPanel(new BorderLayout(0, 1)); - - JLabel classesLabel = new JLabel(" Classes:"); - classesLabel.setBorder - (BorderFactory.createRaisedBevelBorder()); - classList.setFont(new Font("Courier", Font.PLAIN, 14)); - classListPanel.add(BorderLayout.NORTH, classesLabel); - classListPanel.add(BorderLayout.CENTER, new JScrollPane(viewComponent)); - classListPanel.setBorder - (BorderFactory.createRaisedBevelBorder()); - return classListPanel; - } - - /** - * Called whenever the value of the selection changes. - * @param tse the event that characterizes the change. - */ - public void valueChanged(TreeSelectionEvent tse) { - setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - TreePath path = tse.getNewLeadSelectionPath(); - if (path != null) { - Object o = path.getLastPathComponent(); - if (o instanceof JarSpyClassTreeNode) { - JarSpyClassTreeNode jctn = (JarSpyClassTreeNode) o; - ClassInfo classInfo = jctn.getClassInfo(); - notifyClassSelectionListeners(classInfo); - } else { - notifyClassSelectionListeners(null); - } - } - setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - } - - public void valueChanged(ListSelectionEvent lse) { - - setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - - if (!lse.getValueIsAdjusting()) { - Object o = classList.getSelectedValue(); - if (o instanceof ClassInfo) { - ClassInfo classInfo = (ClassInfo) o; - notifyClassSelectionListeners(classInfo); - } else if (o == null) { - notifyClassSelectionListeners(null); - } - } - setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); } --- 299,302 ---- --- JarSpyClassList.java DELETED --- --- JarSpyListCellRenderer.java DELETED --- |
From: Jeff B. <br...@us...> - 2003-01-14 02:52:34
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy In directory sc8-pr-cvs1:/tmp/cvs-serv18360/src/com/ociweb/jarspy Modified Files: application.properties Log Message: Index: application.properties =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/application.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** application.properties 25 Dec 2002 02:51:54 -0000 1.5 --- application.properties 14 Jan 2003 02:52:31 -0000 1.6 *************** *** 1 **** ! app.version=0.7.3 --- 1 ---- ! app.version=0.7.4 |
From: Jeff B. <br...@us...> - 2003-01-03 00:23:34
|
Update of /cvsroot/jarspy/JarSpy-htdocs/webstart/lib In directory sc8-pr-cvs1:/tmp/cvs-serv19060 Modified Files: jarspy.jar Log Message: build 20 Index: jarspy.jar =================================================================== RCS file: /cvsroot/jarspy/JarSpy-htdocs/webstart/lib/jarspy.jar,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 Binary files /tmp/cvst1GTK1 and /tmp/cvsu58sKS differ |
From: Jeff B. <br...@us...> - 2003-01-03 00:22:05
|
Update of /cvsroot/jarspy/JarSpy In directory sc8-pr-cvs1:/tmp/cvs-serv18618 Modified Files: build.number Log Message: updated build number Index: build.number =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.number,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** build.number 3 Jan 2003 00:13:38 -0000 1.16 --- build.number 3 Jan 2003 00:22:02 -0000 1.17 *************** *** 1,3 **** #Build Number for ANT. Do not edit! ! #Thu Jan 02 18:14:07 CST 2003 ! build.number=20 --- 1,3 ---- #Build Number for ANT. Do not edit! ! #Thu Jan 02 18:22:36 CST 2003 ! build.number=21 |
From: Jeff B. <br...@us...> - 2003-01-03 00:16:20
|
Update of /cvsroot/jarspy/JarSpy-htdocs/webstart/lib In directory sc8-pr-cvs1:/tmp/cvs-serv16921 Modified Files: jarspy.jar Log Message: build 19 Index: jarspy.jar =================================================================== RCS file: /cvsroot/jarspy/JarSpy-htdocs/webstart/lib/jarspy.jar,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 Binary files /tmp/cvsz8qwcI and /tmp/cvsiNWRUh differ |
From: Jeff B. <br...@us...> - 2003-01-03 00:13:41
|
Update of /cvsroot/jarspy/JarSpy In directory sc8-pr-cvs1:/tmp/cvs-serv16100 Modified Files: build.number Log Message: updated build number Index: build.number =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.number,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** build.number 25 Dec 2002 02:53:11 -0000 1.15 --- build.number 3 Jan 2003 00:13:38 -0000 1.16 *************** *** 1,3 **** #Build Number for ANT. Do not edit! ! #Tue Dec 24 20:53:54 CST 2002 ! build.number=19 --- 1,3 ---- #Build Number for ANT. Do not edit! ! #Thu Jan 02 18:14:07 CST 2003 ! build.number=20 |
From: Jeff B. <br...@us...> - 2003-01-03 00:12:08
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui In directory sc8-pr-cvs1:/tmp/cvs-serv15722/src/com/ociweb/jarspy/gui Modified Files: JarSpyInfoPanel.java Log Message: fixed up copyright date Index: JarSpyInfoPanel.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/JarSpyInfoPanel.java,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** JarSpyInfoPanel.java 27 Sep 2002 00:27:22 -0000 1.24 --- JarSpyInfoPanel.java 3 Jan 2003 00:12:05 -0000 1.25 *************** *** 63,67 **** add(new JLabel("http://www.jarspy.org/"), gbc); add(new JLabel("Email: co...@ja..."), gbc); ! add(new JLabel("(c) Copyright 2001, 2002 Jeff Brown"), gbc); gbc.insets.top = 20; add(new JLabel("Distributed Under The GNU General Public License (GPL)"), gbc); --- 63,67 ---- add(new JLabel("http://www.jarspy.org/"), gbc); add(new JLabel("Email: co...@ja..."), gbc); ! add(new JLabel("(c) Copyright 2001 - 2003 Jeff Brown"), gbc); gbc.insets.top = 20; add(new JLabel("Distributed Under The GNU General Public License (GPL)"), gbc); |
From: Jeff B. <br...@us...> - 2003-01-03 00:09:33
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui In directory sc8-pr-cvs1:/tmp/cvs-serv14953/src/com/ociweb/jarspy/gui Modified Files: JarSpyGUI.java Log Message: allow file to be passed on command line Index: JarSpyGUI.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/JarSpyGUI.java,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** JarSpyGUI.java 25 Dec 2002 02:50:25 -0000 1.45 --- JarSpyGUI.java 3 Jan 2003 00:09:29 -0000 1.46 *************** *** 95,99 **** private JSplitPane splitter = null; ! public JarSpyGUI() { super("JarSpy"); classDetailPanel = new ClassDetailsPanel(this); --- 95,99 ---- private JSplitPane splitter = null; ! public JarSpyGUI(String initialFileToOpen) { super("JarSpy"); classDetailPanel = new ClassDetailsPanel(this); *************** *** 160,167 **** splitter.setDividerLocation(dividerLocation); ! String pathToMostRecentJar = jarSpyPreferences.getMostRecentJarFile(); ! if (pathToMostRecentJar != null) { try { ! File jarFile = new File(pathToMostRecentJar); if (jarFile.exists()) { setFile(jarFile); --- 160,171 ---- splitter.setDividerLocation(dividerLocation); ! if(initialFileToOpen == null) { ! // if a file path was not passed on the command line... ! initialFileToOpen = jarSpyPreferences.getMostRecentJarFile(); ! } ! ! if (initialFileToOpen != null) { try { ! File jarFile = new File(initialFileToOpen); if (jarFile.exists()) { setFile(jarFile); *************** *** 170,173 **** --- 174,178 ---- } } + setVisible(true); new Splasher(this, new JarSpyInfoPanel(), 4500).start(); *************** *** 176,202 **** private void createActions() { actions.put(ActionNames.OPEN_ARCHIVE_ACTION, ! new OpenArchiveAction(this)); actions.put(ActionNames.EXIT_ACTION, ! new ExitAction(this)); actions.put(ActionNames.EXTRACT_ARCHIVE_ACTION, ! new ExtractArchiveAction(this, jarInspector)); actions.put(ActionNames.VIEW_MANIFEST_ACTION, ! new ViewManifestAction(this, jarInspector)); actions.put(ActionNames.ABOUT_ACTION, ! new AboutAction(this)); actions.put(ActionNames.DECOMPILE_ACTION, ! new DecompileAction(this, jarInspector)); actions.put(ActionNames.VIEW_JAR_CONTENTS_ACTION, ! new ViewJarContentsAction(this)); actions.put(ActionNames.SHOW_JAR_LIST_VIEW, ! new ChangeJarViewerComponentAction(this, ! ActionNames.SHOW_JAR_LIST_VIEW, ! classList, ! "/com/ociweb/jarspy/gui/images/list_mode.gif")); actions.put(ActionNames.SHOW_JAR_TREE_VIEW, ! new ChangeJarViewerComponentAction(this, ! ActionNames.SHOW_JAR_TREE_VIEW, ! classTree, ! "/com/ociweb/jarspy/gui/images/tree_mode.gif")); } --- 181,207 ---- private void createActions() { actions.put(ActionNames.OPEN_ARCHIVE_ACTION, ! new OpenArchiveAction(this)); actions.put(ActionNames.EXIT_ACTION, ! new ExitAction(this)); actions.put(ActionNames.EXTRACT_ARCHIVE_ACTION, ! new ExtractArchiveAction(this, jarInspector)); actions.put(ActionNames.VIEW_MANIFEST_ACTION, ! new ViewManifestAction(this, jarInspector)); actions.put(ActionNames.ABOUT_ACTION, ! new AboutAction(this)); actions.put(ActionNames.DECOMPILE_ACTION, ! new DecompileAction(this, jarInspector)); actions.put(ActionNames.VIEW_JAR_CONTENTS_ACTION, ! new ViewJarContentsAction(this)); actions.put(ActionNames.SHOW_JAR_LIST_VIEW, ! new ChangeJarViewerComponentAction(this, ! ActionNames.SHOW_JAR_LIST_VIEW, ! classList, ! "/com/ociweb/jarspy/gui/images/list_mode.gif")); actions.put(ActionNames.SHOW_JAR_TREE_VIEW, ! new ChangeJarViewerComponentAction(this, ! ActionNames.SHOW_JAR_TREE_VIEW, ! classTree, ! "/com/ociweb/jarspy/gui/images/tree_mode.gif")); } *************** *** 439,445 **** } catch (ClassNotFoundException e) { JOptionPane.showMessageDialog(null, ! "JarSpy requires Java Runtime 1.3 or greater.", ! "Incompatible VM", ! JOptionPane.ERROR_MESSAGE); System.exit(0); } --- 444,450 ---- } catch (ClassNotFoundException e) { JOptionPane.showMessageDialog(null, ! "JarSpy requires Java Runtime 1.3 or greater.", ! "Incompatible VM", ! JOptionPane.ERROR_MESSAGE); System.exit(0); } *************** *** 450,454 **** Class.forName(kunststoffLAFClassName); UIManager.installLookAndFeel("Kunststoff", ! kunststoffLAFClassName); } catch (Exception e) { e.printStackTrace(); --- 455,459 ---- Class.forName(kunststoffLAFClassName); UIManager.installLookAndFeel("Kunststoff", ! kunststoffLAFClassName); } catch (Exception e) { e.printStackTrace(); *************** *** 460,469 **** Class.forName(metouiaLAFClassName); UIManager.installLookAndFeel("Metouia", ! metouiaLAFClassName); } catch (Exception e) { e.printStackTrace(); } ! new JarSpyGUI(); } } --- 465,474 ---- Class.forName(metouiaLAFClassName); UIManager.installLookAndFeel("Metouia", ! metouiaLAFClassName); } catch (Exception e) { e.printStackTrace(); } ! new JarSpyGUI(a.length > 0 ? a[0] : null); } } |
From: Jeff B. <br...@us...> - 2002-12-25 02:54:59
|
Update of /cvsroot/jarspy/JarSpy-htdocs/webstart/lib In directory sc8-pr-cvs1:/tmp/cvs-serv15230 Modified Files: jarspy.jar Removed Files: signit.bat Log Message: 0.7.3 Index: jarspy.jar =================================================================== RCS file: /cvsroot/jarspy/JarSpy-htdocs/webstart/lib/jarspy.jar,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 Binary files /tmp/cvs6pL5JQ and /tmp/cvs2NKpZy differ --- signit.bat DELETED --- |
From: Jeff B. <br...@us...> - 2002-12-25 02:53:14
|
Update of /cvsroot/jarspy/JarSpy In directory sc8-pr-cvs1:/tmp/cvs-serv14899 Modified Files: build.number Log Message: updated build number Index: build.number =================================================================== RCS file: /cvsroot/jarspy/JarSpy/build.number,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** build.number 11 Dec 2002 03:35:02 -0000 1.14 --- build.number 25 Dec 2002 02:53:11 -0000 1.15 *************** *** 1,3 **** #Build Number for ANT. Do not edit! ! #Tue Dec 10 21:39:31 CST 2002 ! build.number=18 --- 1,3 ---- #Build Number for ANT. Do not edit! ! #Tue Dec 24 20:53:54 CST 2002 ! build.number=19 |
From: Jeff B. <br...@us...> - 2002-12-25 02:51:57
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy In directory sc8-pr-cvs1:/tmp/cvs-serv14707/src/com/ociweb/jarspy Modified Files: application.properties Log Message: increment version number Index: application.properties =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/application.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** application.properties 29 Sep 2002 01:30:57 -0000 1.4 --- application.properties 25 Dec 2002 02:51:54 -0000 1.5 *************** *** 1 **** ! app.version=0.7.2 --- 1 ---- ! app.version=0.7.3 |
From: Jeff B. <br...@us...> - 2002-12-25 02:50:30
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/actions In directory sc8-pr-cvs1:/tmp/cvs-serv14300/src/com/ociweb/jarspy/gui/actions Modified Files: DecompileAction.java Log Message: don't pass jtree as arg to decompile action Index: DecompileAction.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/actions/DecompileAction.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** DecompileAction.java 27 Aug 2002 02:45:14 -0000 1.5 --- DecompileAction.java 25 Dec 2002 02:50:27 -0000 1.6 *************** *** 38,47 **** private String className; - private JTree classTree; private String pathToJarFile; private JarInspector jarInspector; public DecompileAction(JarSpyGUI gui, - JTree classTree, JarInspector jarInspector) { super(gui, --- 38,45 ---- *************** *** 51,55 **** this.jarInspector = jarInspector; setEnabled(false); - this.classTree = classTree; jarSpyGUI.addClassSelectionListener(this); } --- 49,52 ---- |