[Jarspy-commits] CVS: JarSpy/src/com/ociweb/jarspy/intellij/plugin JarSpyIntelliJPlugin.java,1.6,1.7
Status: Beta
Brought to you by:
brown_j
From: Jeff B. <br...@us...> - 2003-04-06 20:22:10
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/intellij/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv14351/src/com/ociweb/jarspy/intellij/plugin Modified Files: JarSpyIntelliJPlugin.java Log Message: added constant for plugin name Index: JarSpyIntelliJPlugin.java =================================================================== RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/intellij/plugin/JarSpyIntelliJPlugin.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** JarSpyIntelliJPlugin.java 28 Jan 2003 03:07:14 -0000 1.6 --- JarSpyIntelliJPlugin.java 6 Apr 2003 20:22:07 -0000 1.7 *************** *** 49,52 **** --- 49,53 ---- private Logger logger; private JarInspector jarInspector = new JarInspector(); + private static final String PLUGIN_NAME = "JarSpy"; static { *************** *** 126,139 **** actionGroup.add(aboutAction); ! ActionToolbar toolBar = ActionManager.getInstance().createActionToolbar("JarSpy", actionGroup, false); myPanel.add(BorderLayout.WEST, toolBar.getComponent()); ! twm.registerToolWindow("JarSpy", myPanel, ToolWindowAnchor.BOTTOM); } public void projectClosed() { ToolWindowManager twm = ToolWindowManager.getInstance(myProject); ! twm.unregisterToolWindow("JarSpy"); } --- 127,140 ---- actionGroup.add(aboutAction); ! ActionToolbar toolBar = ActionManager.getInstance().createActionToolbar(PLUGIN_NAME, actionGroup, false); myPanel.add(BorderLayout.WEST, toolBar.getComponent()); ! twm.registerToolWindow(PLUGIN_NAME, myPanel, ToolWindowAnchor.BOTTOM); } public void projectClosed() { ToolWindowManager twm = ToolWindowManager.getInstance(myProject); ! twm.unregisterToolWindow(PLUGIN_NAME); } |