Permalink
Browse files

Minor timeline fixes and tooltip text

  • Loading branch information...
1 parent cd0c5c5 commit 0cebb07e853c86ee4dcfaadf6af21112a3ec1dc6 @mbastian mbastian committed Mar 11, 2012
@@ -1,6 +1,43 @@
/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
+ Copyright 2008-2011 Gephi
+ Authors : Mathieu Bastian
+ Website : http://www.gephi.org
+
+ This file is part of Gephi.
+
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+ Copyright 2011 Gephi Consortium. All rights reserved.
+
+ The contents of this file are subject to the terms of either the GNU
+ General Public License Version 3 only ("GPL") or the Common
+ Development and Distribution License("CDDL") (collectively, the
+ "License"). You may not use this file except in compliance with the
+ License. You can obtain a copy of the License at
+ http://gephi.org/about/legal/license-notice/
+ or /cddl-1.0.txt and /gpl-3.0.txt. See the License for the
+ specific language governing permissions and limitations under the
+ License. When distributing the software, include this License Header
+ Notice in each file and include the License files at
+ /cddl-1.0.txt and /gpl-3.0.txt. If applicable, add the following below the
+ License Header, with the fields enclosed by brackets [] replaced by
+ your own identifying information:
+ "Portions Copyrighted [year] [name of copyright owner]"
+
+ If you wish your version of this file to be governed by only the CDDL
+ or only the GPL Version 3, indicate your decision by adding
+ "[Contributor] elects to include this software in this distribution
+ under the [CDDL or GPL Version 3] license." If you do not indicate a
+ single choice of license, a recipient has the option to distribute
+ your version of this file under either the CDDL, the GPL Version 3 or
+ to extend the choice of license to its licensees as provided above.
+ However, if you add GPL Version 3 code and therefore, elected the GPL
+ Version 3 license, then the option applies only if the new code is
+ made subject to such option by the copyright holder.
+
+ Contributor(s):
+
+ Portions Copyrighted 2011 Gephi Consortium.
*/
package org.gephi.desktop.timeline;
@@ -10,7 +47,7 @@
/**
*
- * @author mbastian
+ * @author Mathieu Bastian
*/
@ServiceProvider(service=BottomComponent.class)
public class BottomComponentImpl implements BottomComponent {
@@ -45,3 +45,5 @@ TimelineTooltip.min = Start
TimelineTooltip.max = End
TimelineTooltip.position = Current position is
TimelineTooltip.chart = Current value is
+TimelineTopComponent.enableTimelineButton.toolTipText=Enable timeline for time-based filtering
+TimelineTopComponent.disableButon.toolTipText=Disable the timeline
@@ -16,93 +16,75 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
- <Component id="titleHeader" alignment="0" pref="588" max="32767" attributes="0"/>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace max="-2" attributes="0"/>
- <Component id="resetDefaultsDate" min="-2" max="-2" attributes="0"/>
- <EmptySpace pref="438" max="32767" attributes="0"/>
- </Group>
- <Group type="103" rootIndex="1" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="-2" pref="36" max="-2" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="-2" pref="24" max="-2" attributes="0"/>
- <Group type="103" groupAlignment="1" attributes="0">
- <Component id="labelMinDate" min="-2" max="-2" attributes="0"/>
- <Component id="labelStartDate" min="-2" max="-2" attributes="0"/>
- </Group>
- <EmptySpace max="-2" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Component id="minTextField" min="-2" pref="162" max="-2" attributes="0"/>
- <Component id="startTextField" min="-2" pref="162" max="-2" attributes="0"/>
- </Group>
- <EmptySpace pref="67" max="32767" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="1" attributes="0">
- <Component id="labelEndDate" min="-2" max="-2" attributes="0"/>
- <EmptySpace type="separate" max="-2" attributes="0"/>
- <Component id="endTextField" min="-2" pref="162" max="-2" attributes="0"/>
+ <Component id="titleHeader" alignment="0" pref="564" max="32767" attributes="0"/>
+ <Group type="102" attributes="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="resetDefaultsDate" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="-2" pref="25" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace min="-2" pref="6" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="1" attributes="0">
+ <Component id="labelMinDate" min="-2" max="-2" attributes="0"/>
+ <Component id="labelStartDate" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" max="-2" attributes="0">
+ <Group type="102" attributes="0">
+ <Component id="minTextField" min="-2" pref="162" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="47" max="-2" attributes="0"/>
+ <Component id="labelMaxDate" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" attributes="0">
+ <Component id="startTextField" min="-2" pref="162" max="-2" attributes="0"/>
+ <EmptySpace max="32767" attributes="0"/>
+ <Component id="labelEndDate" min="-2" max="-2" attributes="0"/>
+ </Group>
</Group>
- <Group type="102" alignment="1" attributes="0">
- <Component id="labelMaxDate" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
<Component id="maxTextField" min="-2" pref="162" max="-2" attributes="0"/>
- <EmptySpace min="-2" pref="1" max="-2" attributes="0"/>
+ <Component id="endTextField" min="-2" pref="162" max="-2" attributes="0"/>
</Group>
</Group>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <Group type="103" groupAlignment="0" attributes="0">
- <Component id="labelBounds" alignment="0" min="-2" max="-2" attributes="0"/>
- <Component id="labelIntervalDate" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- <EmptySpace min="-2" pref="464" max="-2" attributes="0"/>
+ <Component id="labelIntervalDate" min="-2" max="-2" attributes="0"/>
+ <Component id="labelBounds" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
- <EmptySpace min="-2" pref="36" max="-2" attributes="0"/>
</Group>
+ <EmptySpace max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="titleHeader" min="-2" pref="83" max="-2" attributes="0"/>
- <EmptySpace pref="200" max="32767" attributes="0"/>
- <Component id="resetDefaultsDate" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
- </Group>
- <Group type="103" rootIndex="1" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="-2" pref="105" max="-2" attributes="0"/>
- <Component id="labelBounds" min="-2" max="-2" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace min="-2" pref="87" max="-2" attributes="0"/>
- <Group type="103" groupAlignment="3" attributes="0">
- <Component id="labelEndDate" alignment="3" min="-2" max="-2" attributes="0"/>
- <Component id="endTextField" alignment="3" min="-2" max="-2" attributes="0"/>
- </Group>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <Group type="103" groupAlignment="3" attributes="0">
- <Component id="labelMinDate" alignment="3" min="-2" max="-2" attributes="0"/>
- <Component id="minTextField" alignment="3" min="-2" max="-2" attributes="0"/>
- <Component id="labelMaxDate" alignment="3" min="-2" max="-2" attributes="0"/>
- <Component id="maxTextField" alignment="3" min="-2" max="-2" attributes="0"/>
- </Group>
- <EmptySpace min="-2" pref="29" max="-2" attributes="0"/>
- <Component id="labelIntervalDate" min="-2" max="-2" attributes="0"/>
- <EmptySpace type="unrelated" max="-2" attributes="0"/>
- <Group type="103" groupAlignment="3" attributes="0">
- <Component id="labelStartDate" alignment="3" min="-2" max="-2" attributes="0"/>
- <Component id="startTextField" alignment="3" min="-2" max="-2" attributes="0"/>
- </Group>
- </Group>
- </Group>
- <EmptySpace pref="91" max="32767" attributes="0"/>
+ <EmptySpace type="separate" max="-2" attributes="0"/>
+ <Component id="labelBounds" min="-2" max="-2" attributes="0"/>
+ <EmptySpace type="unrelated" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="labelMinDate" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="minTextField" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="labelMaxDate" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="maxTextField" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
+ <EmptySpace type="separate" max="-2" attributes="0"/>
+ <Component id="labelIntervalDate" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="10" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="startTextField" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="labelStartDate" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="labelEndDate" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="endTextField" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace type="separate" max="-2" attributes="0"/>
+ <Component id="resetDefaultsDate" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="43" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Oops, something went wrong.

0 comments on commit 0cebb07

Please sign in to comment.