|
From: <be...@us...> - 2006-10-17 16:11:22
|
Revision: 22
http://svn.sourceforge.net/jtreemap/?rev=22&view=rev
Author: benoitx
Date: 2006-10-17 09:11:12 -0700 (Tue, 17 Oct 2006)
Log Message:
-----------
Maven build files
Added Paths:
-----------
trunk/JTreeMap/maven.xml
trunk/JTreeMap/project.xml
Added: trunk/JTreeMap/maven.xml
===================================================================
--- trunk/JTreeMap/maven.xml (rev 0)
+++ trunk/JTreeMap/maven.xml 2006-10-17 16:11:12 UTC (rev 22)
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+
+<!--
+ /*
+ * ========================================================================
+ * ObjectLab Financial Ltd, proud sponsor of jt:FileReader.
+ * ========================================================================
+ */
+-->
+
+<project xmlns:j="jelly:core" xmlns:core="jelly:core"
+ xmlns:maven="jelly:maven" xmlns:ant="jelly:ant"
+ xmlns:define="jelly:define" xmlns:doc="doc" xmlns:util="jelly:util"
+ xmlns:log="jelly:log">
+
+ <goal name="jt:build" prereqs="jar:install" />
+ <goal name="jt:rebuild" prereqs="clean,jt:build" />
+</project>
Added: trunk/JTreeMap/project.xml
===================================================================
--- trunk/JTreeMap/project.xml (rev 0)
+++ trunk/JTreeMap/project.xml 2006-10-17 16:11:12 UTC (rev 22)
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+
+<!--
+ /*
+ * ========================================================================
+ * $Id: project.xml 167 2006-09-12 15:11:43Z benoitx $
+ *
+ * Copyright 2006 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ * ========================================================================
+ */
+-->
+
+<project>
+ <extend>../common-build/project.xml</extend>
+ <name>JTreeMap</name>
+ <artifactId>jtreemap</artifactId>
+ <package>org.jense.swing.jtreemap</package>
+ <shortDescription>JTreeMap is a Java Swing component which reprensents hierarchical structure in a Treemap.</shortDescription>
+ <description>
+ JTreeMap is a Java Swing component which reprensents hierarchical structure in a Treemap
+ </description>
+ <repository>
+ <connection>
+ scm:svn:https://svn.sourceforge.net/svnroot/jtreemap/trunk/JTreeMap
+ </connection>
+ <developerConnection>
+ scm:svn:https://svn.sourceforge.net/svnroot/jtreemap/trunk/JTreeMap
+ </developerConnection>
+ </repository>
+ <dependencies />
+
+ <build>
+ <sourceDirectory>src/main/java</sourceDirectory>
+ <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
+ <unitTest>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/Abstract*.java</exclude>
+ </excludes>
+ </unitTest>
+ <resources>
+ <resource>
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.dtd</include>
+ </includes>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ </build>
+
+</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eki...@us...> - 2006-12-11 19:48:30
|
Revision: 113
http://svn.sourceforge.net/jtreemap/?rev=113&view=rev
Author: ekingulen
Date: 2006-12-11 11:48:24 -0800 (Mon, 11 Dec 2006)
Log Message:
-----------
- viewTree param is added.
Modified Paths:
--------------
trunk/JTreeMap/runConfs/JTreeMapAppletExample XML.launch
trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/JTreeMap.java
trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapAppletExample.java
trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapExample.java
Modified: trunk/JTreeMap/runConfs/JTreeMapAppletExample XML.launch
===================================================================
--- trunk/JTreeMap/runConfs/JTreeMapAppletExample XML.launch 2006-12-11 12:25:25 UTC (rev 112)
+++ trunk/JTreeMap/runConfs/JTreeMapAppletExample XML.launch 2006-12-11 19:48:24 UTC (rev 113)
@@ -10,6 +10,7 @@
<stringAttribute key="org.eclipse.jdt.launching.VM_INSTALL_NAME" value="jre1.5.0_09"/>
<mapAttribute key="org.eclipse.jdt.launching.APPLET_PARAMETERS">
<mapEntry key="dataFile" value="../../dataDump.xml"/>
+<mapEntry key="viewTree" value="true"/>
<mapEntry key="dataFileType" value="xml"/>
</mapAttribute>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.5.0_09"/>
Modified: trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/JTreeMap.java
===================================================================
--- trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/JTreeMap.java 2006-12-11 12:25:25 UTC (rev 112)
+++ trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/JTreeMap.java 2006-12-11 19:48:24 UTC (rev 113)
@@ -48,6 +48,7 @@
import javax.swing.JTree;
import javax.swing.ToolTipManager;
import javax.swing.border.Border;
+import javax.swing.tree.TreePath;
/**
* JComponent who represents each element of a tree in a rectangle of more or
@@ -143,7 +144,22 @@
* the root of the tree to display
* @param strategy
* the split strategy
+ * @param treeView The tree representation of the hierarchical data.
*/
+ public JTreeMap(final TreeMapNode root, final SplitStrategy strategy, final JTree treeView) {
+ this(root, strategy);
+ this.treeView = treeView;
+ }
+ /**
+ * Constructor of JTreeMap. <BR>
+ * The chosen color provider is UniqueColorProvider.
+ *
+ * @see UniqueColorProvider
+ * @param root
+ * the root of the tree to display
+ * @param strategy
+ * the split strategy
+ */
public JTreeMap(final TreeMapNode root, final SplitStrategy strategy) {
// ToolTips appears without delay and stay as long as possible
final ToolTipManager ttm = ToolTipManager.sharedInstance();
@@ -569,6 +585,7 @@
}
if (t != null) {
setToolTipText(t.getLabel() + " " + t.getValue().getValue());
+// setToolTipText(t.getLabel() + " " + t.getValue().getValue() + ", Weight = " + t.getWeight());
} else {
setToolTipText(null);
}
@@ -591,24 +608,30 @@
if (treeView == null) {
zoom(t);
} else {
- zoom(t);
+ //zoom(t);
// dont know why below does not work so for now leave it commented out
- // treeView.setSelectionPath(new TreePath(t.getPath()));
+ TreePath path = new TreePath(t.getPath());
+ treeView.setSelectionPath(path);
+ treeView.scrollPathToVisible(path);
}
} else {
if (treeView == null) {
zoom((TreeMapNode) getDisplayedRoot().getParent());
} else {
- zoom((TreeMapNode) getDisplayedRoot().getParent());
+ //zoom((TreeMapNode) getDisplayedRoot().getParent());
// dont know why below does not work so for now leave it commented out
- //treeView.setSelectionPath(new TreePath(((TreeMapNode)getDisplayedRoot().getParent()).getPath()));
+ TreePath path = new TreePath(((TreeMapNode)getDisplayedRoot().getParent()).getPath());
+ treeView.setSelectionPath(path);
+ treeView.scrollPathToVisible(path);
}
}
repaint();
}
}
}
+
+
/**
* Class who zoom and unzoom the JTreeMap.
@@ -708,6 +731,16 @@
}
}
}
+
+
+
+ public JTree getTreeView() {
+ return treeView;
+ }
+
+ public void setTreeView(JTree treeView) {
+ this.treeView = treeView;
+ }
}
/*
* ObjectLab is supporing JTreeMap
Modified: trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapAppletExample.java
===================================================================
--- trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapAppletExample.java 2006-12-11 12:25:25 UTC (rev 112)
+++ trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapAppletExample.java 2006-12-11 19:48:24 UTC (rev 113)
@@ -35,6 +35,7 @@
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
+import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.event.ActionEvent;
@@ -47,12 +48,19 @@
import java.net.URLConnection;
import java.text.ParseException;
+import javax.swing.BorderFactory;
import javax.swing.JApplet;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.JSplitPane;
+import javax.swing.JTree;
import javax.swing.border.TitledBorder;
+import javax.swing.event.TreeSelectionEvent;
+import javax.swing.event.TreeSelectionListener;
+import javax.swing.tree.DefaultTreeModel;
import net.sf.jtreemap.swing.ColorProvider;
import net.sf.jtreemap.swing.JTreeMap;
@@ -75,6 +83,8 @@
public class JTreeMapAppletExample extends JApplet {
private static final double CONSTRAINT_WEIGHTX = 0.5;
+
+ private static final int SCROLLPANE_WIDTH = 140;
private static final String XML = "xml";
@@ -97,7 +107,12 @@
private BuilderTM3 builderTM3;
private boolean showTM3CTonf;
-
+
+ private boolean showTree;
+
+ private JTree treeView;
+ private DefaultTreeModel treeModel;
+
/**
* This is the default constructor
*/
@@ -144,7 +159,7 @@
root = DemoUtil.buildDemoRoot();
}
- this.jTreeMap = new JTreeMap(root, new SplitBySortedWeight());
+ this.jTreeMap = new JTreeMap(root, new SplitBySortedWeight(), treeView);
this.jTreeMap.setFont(new Font(null, Font.BOLD, DEFAULT_FONT_SIZE));
final String colourProvider = getParameter("colorProvider");
@@ -177,7 +192,41 @@
// Add a popupMenu to zoom
new ZoomPopupMenu(this.jTreeMap, true);
- getJContentPane().add(this.jTreeMap, BorderLayout.CENTER);
+ if (showTree) {
+ final JSplitPane splitPaneCenter = new JSplitPane();
+ splitPaneCenter.setBorder(BorderFactory.createEmptyBorder());
+ getJContentPane().add(splitPaneCenter, BorderLayout.CENTER);
+
+ final JScrollPane jScrollPane1 = new JScrollPane();
+ splitPaneCenter.setTopComponent(jScrollPane1);
+ splitPaneCenter.setBottomComponent(this.jTreeMap);
+
+ treeModel = new DefaultTreeModel(root);
+ treeView = new JTree(this.treeModel);
+ jTreeMap.setTreeView(treeView);
+ jScrollPane1.getViewport().add(this.treeView);
+ jScrollPane1.setPreferredSize(new Dimension(SCROLLPANE_WIDTH, jTreeMap.getRoot().getHeight()));
+ treeView.addTreeSelectionListener(new TreeSelectionListener() {
+ public void valueChanged(final TreeSelectionEvent e) {
+ // for each selected elements ont the treeView, we zoom the
+ // JTreeMap
+ TreeMapNode dest = (TreeMapNode) JTreeMapAppletExample.this.treeView.getLastSelectedPathComponent();
+
+ // if the element is a leaf, we select the parent
+ if (dest != null && dest.isLeaf()) {
+ dest = (TreeMapNode) dest.getParent();
+ }
+ if (dest == null) {
+ return;
+ }
+
+ JTreeMapAppletExample.this.jTreeMap.zoom(dest);
+ JTreeMapAppletExample.this.jTreeMap.repaint();
+ }
+ });
+ } else {
+ getJContentPane().add(this.jTreeMap, BorderLayout.CENTER);
+ }
}
/**
@@ -290,6 +339,7 @@
// this.setSize(APPLET_WIDTH, APPLET_HEIGHT);
this.setContentPane(getJContentPane());
showTM3CTonf = "true".equalsIgnoreCase(getParameter("showTM3Conf"));
+ showTree = "true".equalsIgnoreCase(getParameter("viewTree"));
if (showTM3CTonf) {
addPanelEast(getJContentPane());
}
Modified: trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapExample.java
===================================================================
--- trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapExample.java 2006-12-11 12:25:25 UTC (rev 112)
+++ trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapExample.java 2006-12-11 19:48:24 UTC (rev 113)
@@ -307,6 +307,7 @@
treeModel = new DefaultTreeModel(this.root);
treeView = new JTree(this.treeModel);
+ jTreeMap.setTreeView(treeView);
jScrollPane1.getViewport().add(this.treeView);
jScrollPane1.setPreferredSize(new Dimension(SCROLLPANE_WIDTH, jTreeMap.getRoot().getHeight()));
treeView.addTreeSelectionListener(new TreeSelectionListener() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eki...@us...> - 2006-12-12 00:10:33
|
Revision: 116
http://svn.sourceforge.net/jtreemap/?rev=116&view=rev
Author: ekingulen
Date: 2006-12-11 16:10:31 -0800 (Mon, 11 Dec 2006)
Log Message:
-----------
- Tooltip made configurable.
Modified Paths:
--------------
trunk/JTreeMap/runConfs/JTreeMapAppletExample XML.launch
trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/DefaultToolTip.java
trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/DefaultToolTipBuilder.java
trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/JTreeMap.java
trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapAppletExample.java
Modified: trunk/JTreeMap/runConfs/JTreeMapAppletExample XML.launch
===================================================================
--- trunk/JTreeMap/runConfs/JTreeMapAppletExample XML.launch 2006-12-11 20:34:41 UTC (rev 115)
+++ trunk/JTreeMap/runConfs/JTreeMapAppletExample XML.launch 2006-12-12 00:10:31 UTC (rev 116)
@@ -11,7 +11,10 @@
<mapAttribute key="org.eclipse.jdt.launching.APPLET_PARAMETERS">
<mapEntry key="dataFile" value="../../dataDump.xml"/>
<mapEntry key="viewTree" value="true"/>
+<mapEntry key="showWeight" value="true"/>
+<mapEntry key="valuePrefix" value="Value"/>
<mapEntry key="dataFileType" value="xml"/>
+<mapEntry key="weightPrefix" value="Weight"/>
</mapAttribute>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.5.0_09"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
Modified: trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/DefaultToolTip.java
===================================================================
--- trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/DefaultToolTip.java 2006-12-11 20:34:41 UTC (rev 115)
+++ trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/DefaultToolTip.java 2006-12-12 00:10:31 UTC (rev 116)
@@ -36,6 +36,7 @@
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
+import java.awt.Graphics2D;
import javax.swing.JToolTip;
@@ -58,15 +59,24 @@
private Font labelFont;
private Font valueFont;
-
+
+ private String weightPrefix;
+
+ private String valuePrefix;
+
+ private boolean showWeight;
+
/**
* Constructor.
*
* @param jTreeMap
* the jTreeMap who display the tooltip
*/
- public DefaultToolTip(final JTreeMap jTreeMap) {
+ public DefaultToolTip(final JTreeMap jTreeMap, final String weightPrefix, final String valuePrefix, final boolean showWeight) {
this.jTreeMap = jTreeMap;
+ this.weightPrefix = weightPrefix;
+ this.valuePrefix = valuePrefix;
+ this.showWeight = showWeight;
this.labelFont = new Font("Default", Font.BOLD, DEFAULT_LABEL_SIZE);
this.valueFont = new Font("Default", Font.PLAIN, DEFAULT_VALUE_SIZE);
@@ -81,13 +91,24 @@
@Override
public void paint(final Graphics g) {
if (this.jTreeMap.getActiveLeaf() != null) {
- g.setColor(Color.lightGray);
- g.fill3DRect(0, 0, this.getWidth(), this.getHeight(), true);
- g.setColor(Color.black);
- g.setFont(this.labelFont);
- g.drawString(this.jTreeMap.getActiveLeaf().getLabel(), TOOLTIP_OFFSET, g.getFontMetrics(this.labelFont).getAscent());
- g.setFont(this.valueFont);
- g.drawString(this.jTreeMap.getActiveLeaf().getLabelValue(), TOOLTIP_OFFSET, this.getHeight() - TOOLTIP_OFFSET);
+ Graphics2D g2D = (Graphics2D) g;
+ g2D.setColor(Color.YELLOW);
+ g2D.fill3DRect(0, 0, this.getWidth(), this.getHeight(), true);
+ g2D.setColor(Color.black);
+ g2D.setFont(this.labelFont);
+ g2D.drawString(this.jTreeMap.getActiveLeaf().getLabel(), TOOLTIP_OFFSET, g2D.getFontMetrics(this.labelFont).getAscent());
+ g2D.setFont(this.valueFont);
+ String toDraw = this.jTreeMap.getActiveLeaf().getLabelValue();
+ if (valuePrefix != null) {
+ toDraw = valuePrefix + " " + toDraw;
+ }
+ if (showWeight) {
+ toDraw = this.jTreeMap.getActiveLeaf().getWeight() + ", " + toDraw;
+ }
+ if (weightPrefix != null && showWeight) {
+ toDraw = weightPrefix + " " + toDraw;
+ }
+ g2D.drawString(toDraw, TOOLTIP_OFFSET, this.getHeight() - TOOLTIP_OFFSET);
}
}
}
Modified: trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/DefaultToolTipBuilder.java
===================================================================
--- trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/DefaultToolTipBuilder.java 2006-12-11 20:34:41 UTC (rev 115)
+++ trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/DefaultToolTipBuilder.java 2006-12-12 00:10:31 UTC (rev 116)
@@ -53,14 +53,23 @@
private JTreeMap jTreeMap;
+ private String weightPrefix;
+
+ private String valuePrefix;
+
+ private boolean showWeight;
+
/**
* Constructor.
*
* @param jTreeMap
* the linked JTreeMap
*/
- public DefaultToolTipBuilder(final JTreeMap jTreeMap) {
+ public DefaultToolTipBuilder(final JTreeMap jTreeMap, final String weightPrefix, final String valuePrefix, final boolean showWeight) {
this.jTreeMap = jTreeMap;
+ this.weightPrefix = weightPrefix;
+ this.valuePrefix = valuePrefix;
+ this.showWeight = showWeight;
}
/*
@@ -70,7 +79,8 @@
*/
public JToolTip getToolTip() {
if (instance == null) {
- instance = new DefaultToolTip(this.jTreeMap);
+ instance = new DefaultToolTip(this.jTreeMap, this.weightPrefix,
+ this.valuePrefix, this.showWeight);
}
return instance;
}
Modified: trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/JTreeMap.java
===================================================================
--- trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/JTreeMap.java 2006-12-11 20:34:41 UTC (rev 115)
+++ trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/JTreeMap.java 2006-12-12 00:10:31 UTC (rev 116)
@@ -117,7 +117,7 @@
* the root of the tree to display
*/
public JTreeMap(final TreeMapNode root) {
- this(root, new SplitSquarified());
+ this(root, new SplitSquarified(), null, null, false);
}
/**
@@ -131,7 +131,7 @@
* @param treeView The tree representation of the hierarchical data.
*/
public JTreeMap(final TreeMapNode root, final JTree treeView) {
- this(root, new SplitSquarified());
+ this(root, new SplitSquarified(), null, null, false);
this.treeView = treeView;
}
@@ -146,8 +146,9 @@
* the split strategy
* @param treeView The tree representation of the hierarchical data.
*/
- public JTreeMap(final TreeMapNode root, final SplitStrategy strategy, final JTree treeView) {
- this(root, strategy);
+ public JTreeMap(final TreeMapNode root, final SplitStrategy strategy, final JTree treeView,
+ final String weightPrefix, final String valuePrefix, final boolean showWeight) {
+ this(root, strategy, weightPrefix, valuePrefix, showWeight);
this.treeView = treeView;
}
/**
@@ -160,7 +161,8 @@
* @param strategy
* the split strategy
*/
- public JTreeMap(final TreeMapNode root, final SplitStrategy strategy) {
+ public JTreeMap(final TreeMapNode root, final SplitStrategy strategy,
+ final String weightPrefix, final String valuePrefix, final boolean showWeight) {
// ToolTips appears without delay and stay as long as possible
final ToolTipManager ttm = ToolTipManager.sharedInstance();
ttm.setInitialDelay(0);
@@ -171,7 +173,7 @@
setToolTipText("");
// the default DefaultToolTipBuilder
- toolTipBuilder = new DefaultToolTipBuilder(this);
+ toolTipBuilder = new DefaultToolTipBuilder(this, weightPrefix, valuePrefix, showWeight);
zoom = new Zoom();
Modified: trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapAppletExample.java
===================================================================
--- trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapAppletExample.java 2006-12-11 20:34:41 UTC (rev 115)
+++ trunk/JTreeMap/src/main/java/net/sf/jtreemap/swing/example/JTreeMapAppletExample.java 2006-12-12 00:10:31 UTC (rev 116)
@@ -110,6 +110,12 @@
private boolean showTree;
+ private boolean showWeight;
+
+ private String weightPrefix;
+
+ private String valuePrefix;
+
private JTree treeView;
private DefaultTreeModel treeModel;
@@ -159,7 +165,7 @@
root = DemoUtil.buildDemoRoot();
}
- this.jTreeMap = new JTreeMap(root, new SplitBySortedWeight(), treeView);
+ this.jTreeMap = new JTreeMap(root, new SplitBySortedWeight(), treeView, weightPrefix, valuePrefix, showWeight);
this.jTreeMap.setFont(new Font(null, Font.BOLD, DEFAULT_FONT_SIZE));
final String colourProvider = getParameter("colorProvider");
@@ -340,6 +346,9 @@
this.setContentPane(getJContentPane());
showTM3CTonf = "true".equalsIgnoreCase(getParameter("showTM3Conf"));
showTree = "true".equalsIgnoreCase(getParameter("viewTree"));
+ showWeight = "true".equalsIgnoreCase(getParameter("showWeight"));
+ weightPrefix = getParameter("weightPrefix");
+ valuePrefix = getParameter("valuePrefix");
if (showTM3CTonf) {
addPanelEast(getJContentPane());
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|