Skip to content

Commit 865ebdb

Browse files
author
Michael P Schroeder
committed
Fix: show color scale dialog and categorize values after 'add new data layer from file'
1 parent e2ce753 commit 865ebdb

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

org.gitools.ui.app/src/main/java/org/gitools/ui/app/actions/edit/AddNewLayersFromFileAction.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ public void afterLoad(IResource resource, IProgressMonitor monitor) throws Comma
150150
}
151151

152152
getHeatmap().getLayers().updateLayers();
153+
154+
super.afterLoad(resource, monitor);
153155
}
154156
}
155157
};

org.gitools.ui.core/src/main/java/org/gitools/ui/core/pages/common/AnnotationEditPage.form

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
<colspec value="left:4dlu:noGrow"/>
3333
<colspec value="fill:212px:noGrow"/>
3434
<colspec value="left:4dlu:noGrow"/>
35-
<colspec value="fill:60px:grow"/>
35+
<colspec value="fill:201px:grow"/>
3636
<colspec value="left:4dlu:noGrow"/>
37-
<colspec value="fill:209px:noGrow"/>
37+
<colspec value="fill:143px:noGrow"/>
3838
<colspec value="left:4dlu:noGrow"/>
3939
<colspec value="fill:80dlu:noGrow"/>
4040
<colspec value="left:4dlu:noGrow"/>
4141
<colspec value="fill:max(d;4px):noGrow"/>
4242
<constraints>
43-
<xy x="20" y="20" width="739" height="791"/>
43+
<xy x="20" y="20" width="814" height="791"/>
4444
</constraints>
4545
<properties/>
4646
<border type="none"/>
@@ -68,7 +68,7 @@
6868
<forms/>
6969
</constraints>
7070
<properties>
71-
<text value="load Annotations"/>
71+
<text value="load from File"/>
7272
</properties>
7373
</component>
7474
<component id="dd937" class="javax.swing.JButton" binding="removeSelected">
@@ -90,15 +90,6 @@
9090
<text value="Available Annotations"/>
9191
</properties>
9292
</component>
93-
<component id="8b7c" class="javax.swing.JLabel">
94-
<constraints>
95-
<grid row="4" column="8" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
96-
<forms/>
97-
</constraints>
98-
<properties>
99-
<text value="Add/Remove"/>
100-
</properties>
101-
</component>
10293
<component id="726" class="javax.swing.JLabel" binding="edit_titledesc">
10394
<constraints>
10495
<grid row="18" column="2" row-span="1" col-span="3" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
@@ -210,6 +201,16 @@
210201
<text value="Search:"/>
211202
</properties>
212203
</component>
204+
<component id="a782" class="javax.swing.JLabel">
205+
<constraints>
206+
<grid row="4" column="8" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
207+
<forms/>
208+
</constraints>
209+
<properties>
210+
<font style="1"/>
211+
<text value="Add/Remove annotations"/>
212+
</properties>
213+
</component>
213214
</children>
214215
</grid>
215216
</form>

0 commit comments

Comments
 (0)