Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r2336 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/ui/panels

Subject: perfsonar development work

List archive

perfsonar: r2336 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/ui/panels


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r2336 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/ui/panels
  • Date: Tue, 17 Apr 2007 12:01:56 -0400

Author: nina
Date: 2007-04-17 12:01:55 -0400 (Tue, 17 Apr 2007)
New Revision: 2336

Modified:

branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/ui/panels/UserDataDetailsPane.java
Log:
introduced parameter allowing for editable comboboxes in UserDataDetailsPane
(per request)

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/ui/panels/UserDataDetailsPane.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/ui/panels/UserDataDetailsPane.java
2007-04-17 15:48:13 UTC (rev 2335)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/ui/panels/UserDataDetailsPane.java
2007-04-17 16:01:55 UTC (rev 2336)
@@ -64,6 +64,12 @@
}
/**
*
+ * @param title
+ * @param userData
+ * @param columns
+ * @param options_editable same as
{@link
UserDataTable}
+ * @param query
+ * @param enableColumn
*/
public UserDataDetailsPane(String title, IUserData userData,
Object[][] columns, boolean[] options_editable, boolean query, boolean
enableColumn) {
super(new BorderLayout());
@@ -85,13 +91,26 @@
setMinimumSize(d);
}
public UserDataDetailsPane(String title, IUserData userData,
MetaDataList dataList, Object[][] columns, boolean query, boolean
enableColumn) {
+ this(title,userData,dataList,columns,null,query,enableColumn);
+ }
+ /**
+ *
+ * @param title
+ * @param userData
+ * @param dataList
+ * @param columns
+ * @param options_editable same as in
{@link
UserDataTable}
+ * @param query
+ * @param enableColumn
+ */
+ public UserDataDetailsPane(String title, IUserData userData,
MetaDataList dataList, Object[][] columns,boolean[] options_editable, boolean
query, boolean enableColumn) {
super(new BorderLayout());
if (dataList instanceof Observable)
((Observable)dataList).addObserver(this);
this.title = title;
label = new JLabel();
label.setMinimumSize(new Dimension(Integer.MAX_VALUE,18));
label.setText(userData.getEndpoint().getTitle());
- table = new
UserDataTable(dataList,columns,query,enableColumn);
+ table = new
UserDataTable(dataList,columns,options_editable,query,enableColumn);
//table.setBackground(getBackground());
pane = new JScrollPane(table);
pane.setBorder(BorderFactory.createEtchedBorder());



  • perfsonar: r2336 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/ui/panels, svnlog, 04/17/2007

Archive powered by MHonArc 2.6.16.

Top of Page