Update of /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/nodes
In directory usw-pr-cvs1:/tmp/cvs-serv16683
Modified Files:
PSelectorNode.java
Log Message:
added Show Histogram action
Index: PSelectorNode.java
===================================================================
RCS file: /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/nodes/PSelectorNode.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** PSelectorNode.java 31 Aug 2002 08:44:17 -0000 1.1
--- PSelectorNode.java 3 Sep 2002 17:52:28 -0000 1.2
***************
*** 43,46 ****
--- 43,48 ----
import net.sourceforge.javaprofiler.module.sheets.SheetFactory;
import net.sourceforge.javaprofiler.module.actions.ShowTable;
+ import net.sourceforge.javaprofiler.module.actions.ShowHistogram;
+ import net.sourceforge.javaprofiler.jpi.Constants;
***************
*** 74,81 ****
protected SystemAction[] createActions() {
! return new SystemAction[] {
! SystemAction.get(ShowTable.class),
! SystemAction.get(PropertiesAction.class)
! };
}
--- 76,86 ----
protected SystemAction[] createActions() {
! SystemAction[] actions=new SystemAction[3];
! int i=0;
! if (type==Constants.TYPE)
! actions[i++]=SystemAction.get(ShowHistogram.class);
! actions[i++]=SystemAction.get(ShowTable.class);
! actions[i++]=SystemAction.get(PropertiesAction.class);
! return actions;
}
***************
*** 87,90 ****
--- 92,98 ----
/*
* $Log$
+ * Revision 1.2 2002/09/03 17:52:28 petrul
+ * added Show Histogram action
+ *
* Revision 1.1 2002/08/31 08:44:17 petrul
* added context action Show Table
|