提交 90392abf 编写于 作者: E Eduardo Ramos

Fix some details

上级 36b4c747
......@@ -4,7 +4,7 @@
[![Dependency Status](https://www.versioneye.com/user/projects/5891dedd45c80c0016cae662/badge.svg?style=flat)](https://www.versioneye.com/user/projects/5891dedd45c80c0016cae662?child=summary)
[![Downloads](https://img.shields.io/github/downloads/gephi/gephi/v0.9.1/total.svg)](https://github.com/gephi/gephi/releases/tag/v0.9.1)
[Gephi](http://gephi.org) is an award-winning open-source platform for visualizing and manipulating large graphs. It runs on Windows, Mac OS X and Linux. Localization is available in French, Spanish, Japanese, Russian, Brazilian Portuguese, Chinese and Czech.
[Gephi](http://gephi.org) is an award-winning open-source platform for visualizing and manipulating large graphs. It runs on Windows, Mac OS X and Linux. Localization is available in English, French, Spanish, Japanese, Russian, Brazilian Portuguese, Chinese, Czech and German.
- **Fast** Powered by a built-in OpenGL engine, Gephi is able to push the envelope with very large networks. Visualize networks up to a million elements. All actions (e.g. layout, filter, drag) run in real-time.
......
......@@ -31,9 +31,9 @@
<Component id="sourceLabel" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="statsPanel" max="32767" attributes="1"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="processorPanel" min="-2" pref="173" max="-2" attributes="0"/>
<Component id="statsPanel" min="-2" pref="329" max="-2" attributes="1"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="processorPanel" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="labelGraphType" min="-2" max="-2" attributes="0"/>
......
......@@ -460,6 +460,7 @@ public class ReportPanel extends javax.swing.JPanel {
int i = 0;
for (Processor processor : Lookup.getDefault().lookupAll(Processor.class)) {
JRadioButton radio = new JRadioButton(processor.getDisplayName());
radio.setToolTipText(processor.getDisplayName());
radio.putClientProperty(PROCESSOR_KEY, processor);
processorGroup.add(radio);
}
......@@ -488,7 +489,15 @@ public class ReportPanel extends javax.swing.JPanel {
int i = 0;
for (AbstractButton radio : validButtons) {
radio.setSelected(i == 0);
GridBagConstraints constraints = new GridBagConstraints(0, i++, 1, 1, 0, (i == validButtons.size() ? 1.0 : 0.0), GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0);
GridBagConstraints constraints = new GridBagConstraints(
0, i++,//gridx, gridy
1, 1, //gridwidth, gridheight
1, (i == validButtons.size() ? 1.0 : 0.0),//weightx, weighty
GridBagConstraints.NORTHWEST,//anchor
GridBagConstraints.HORIZONTAL,//fill
new Insets(0, 0, 0, 0),//insets
0, 0//ipadx, ipady
);
processorPanel.add(radio, constraints);
}
}
......@@ -764,9 +773,9 @@ public class ReportPanel extends javax.swing.JPanel {
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(sourceLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(layout.createSequentialGroup()
.addComponent(statsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGap(18, 18, 18)
.addComponent(processorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 173, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(statsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 329, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(processorPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(layout.createSequentialGroup()
.addComponent(labelGraphType)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
......
......@@ -3,7 +3,7 @@ NodeRenderer.property.borderWidth.displayName = Border Width
NodeRenderer.property.borderWidth.description =
NodeRenderer.property.borderColor.displayName = Border Color
NodeRenderer.property.borderColor.description =
NodeRenderer.property.opacity.displayName = opacity
NodeRenderer.property.opacity.displayName = Opacity
NodeRenderer.property.opacity.description =
NodeRenderer.property.perNodeOpacity.displayName = Per-Node Opacity
NodeRenderer.property.perNodeOpacity.description = Use opacity defined at node level. If true, renderer's opacity property will be ignored.
......
......@@ -16,6 +16,11 @@
<hr>
<h2>API Changes</h2>
<ul>
<li>
(September 08 2017) A new <b>optional</b> <code>FileAware</code> interface <code>FileImporter</code> in <code>ImporterAPI</code>.
This allows file importers to receive the file to import in a <code>setFile</code> method <b>instead</b> of the <code>setReader</code> method being called.
If your <code>FileImporter</code> implements this interface, <code>setFile</code> will be called, and <code>setReader</code> will not be called.
</li>
<li>
(February 07 2016) A new <code>setColors</code> method has been added to <code>Partition</code> in <code>AppearanceAPI</code>.
</li>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册