perfsonar-dev - perfsonar: r2489 - in branches/perfsonarui/src/org/perfsonar/perfsonarui/ma: . ui/panels
Subject: perfsonar development work
List archive
perfsonar: r2489 - in branches/perfsonarui/src/org/perfsonar/perfsonarui/ma: . ui/panels
Chronological Thread
- From:
- To:
- Subject: perfsonar: r2489 - in branches/perfsonarui/src/org/perfsonar/perfsonarui/ma: . ui/panels
- Date: Mon, 2 Jul 2007 06:55:40 -0400
Author: nina
Date: 2007-07-02 06:55:39 -0400 (Mon, 02 Jul 2007)
New Revision: 2489
Added:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/ui/panels/RequestOptionsPanel.java
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MAPerfsonarModel.java
Log:
Dialog for changing -a and -p options on runtime
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MAPerfsonarModel.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MAPerfsonarModel.java
2007-07-02 07:25:46 UTC (rev 2488)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/MAPerfsonarModel.java
2007-07-02 10:55:39 UTC (rev 2489)
@@ -44,6 +44,7 @@
import org.perfsonar.perfsonarui.ma.ui.actions.SetupDataRetrieveAllAction;
import org.perfsonar.perfsonarui.ma.ui.actions.TracerouteAction;
import org.perfsonar.perfsonarui.ma.ui.panels.MainPanelMA;
+import org.perfsonar.perfsonarui.ma.ui.panels.RequestOptionsPanel;
import org.perfsonar.perfsonarui.plugins.IPerfsonarRequest;
import org.perfsonar.perfsonarui.plugins.IPerfsonarTab;
import org.perfsonar.perfsonarui.plugins.ITimeValueResponse;
@@ -144,7 +145,7 @@
@Override
public PSUIAction createOptionsAction() {
PSUIAction a = super.createOptionsAction();
- a.putValue(Action.NAME, "Time options");
+ a.putValue(Action.NAME, "Options");
a.putValue(Action.SHORT_DESCRIPTION, "Sets time interval for
summary statistics retrieval");
a.setGroup("Query & search options");
return a;
@@ -315,7 +316,9 @@
//tp.addTimeAction((ITimeSetAction)dataRequestAction);
tp.addTimeAction((ITimeSetAction)dataRequestActionAll);
tp.addTimeAction((ITimeSetAction)metadataRequestAction);
- return new JComponent[]{tp};
+
+
+ return new JComponent[]{tp,new RequestOptionsPanel(this)};
}
@Override
public JComponent[] createDetailsComponent(Component parentComponent)
{
Added:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/ui/panels/RequestOptionsPanel.java
- perfsonar: r2489 - in branches/perfsonarui/src/org/perfsonar/perfsonarui/ma: . ui/panels, svnlog, 07/02/2007
Archive powered by MHonArc 2.6.16.