Commit 81e35869 authored by Matija Obreza's avatar Matija Obreza
Browse files

Icons

parent 12a73cf3
......@@ -175,7 +175,8 @@ public class AppWindow {
private static Image archiveIcon;
private static Image spreadsheetIcon;
private static Image openPackageIcon;
private static Image automapColumns;
private static Image automapColumnsIcon;
private static Image pushDataIcon;
private Tree filesTree;
private Display display;
private TreeViewer treeViewer;
......@@ -226,7 +227,8 @@ public class AppWindow {
AppWindow.archiveIcon = ImageDescriptor.createFromURL(this.getClass().getResource("/icon/archive.png")).createImage();
AppWindow.openPackageIcon = ImageDescriptor.createFromURL(this.getClass().getResource("/icon/openpackage.png")).createImage();
AppWindow.spreadsheetIcon = ImageDescriptor.createFromURL(this.getClass().getResource("/icon/spreadsheet.png")).createImage();
AppWindow.automapColumns = ImageDescriptor.createFromURL(this.getClass().getResource("/icon/automap.png")).createImage();
AppWindow.automapColumnsIcon = ImageDescriptor.createFromURL(this.getClass().getResource("/icon/automap.png")).createImage();
AppWindow.pushDataIcon = ImageDescriptor.createFromURL(this.getClass().getResource("/icon/pushdata.png")).createImage();
}
public static boolean isMac() {
......@@ -471,7 +473,7 @@ public class AppWindow {
}
});
tltmAutomap.setText("Automap");
tltmAutomap.setImage(automapColumns);
tltmAutomap.setImage(automapColumnsIcon);
ToolItem tltmPush = new ToolItem(toolBar, SWT.NONE);
tltmPush.addSelectionListener(new SelectionAdapter() {
......@@ -481,6 +483,7 @@ public class AppWindow {
}
});
tltmPush.setText("Push");
tltmPush.setImage(pushDataIcon);
m_bindingContext = initDataBindings();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment