Skip to content

Commit

Permalink
[e4] Theme string externalisation and Archi theme handle
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillipus committed Jul 4, 2014
1 parent 103f562 commit fcc86e9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ protected Control createContents(Composite parent) {

// Themes
label = new Label(appearanceGroup, SWT.NULL);
label.setText("Theme: ");
label.setText(Messages.GeneralPreferencePage_4);
fThemeComboViewer = new ComboViewer(appearanceGroup, SWT.READ_ONLY);
gd = new GridData(GridData.FILL_HORIZONTAL);
fThemeComboViewer.getCombo().setLayoutData(gd);
Expand All @@ -135,7 +135,7 @@ public String getText(Object element) {
fThemeComboViewer.setSorter(new ViewerSorter());

label = new Label(appearanceGroup, SWT.NULL);
label.setText("A restart may be required for the theme change to take full effect");
label.setText(Messages.GeneralPreferencePage_8);
gd = new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalSpan = 2;
label.setLayoutData(gd);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,16 @@ public class Messages extends NLS {

public static String GeneralPreferencePage_3;

public static String GeneralPreferencePage_4;

public static String GeneralPreferencePage_5;

public static String GeneralPreferencePage_6;

public static String GeneralPreferencePage_7;

public static String GeneralPreferencePage_8;

static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ GeneralPreferencePage_0=Files
GeneralPreferencePage_1=Automatically open Views in a Model when opening from file
GeneralPreferencePage_2=Size of recently opened file list:
GeneralPreferencePage_3=Appearance
GeneralPreferencePage_4=Theme:
GeneralPreferencePage_5=Automatically create a backup file (*.bak) when saving
GeneralPreferencePage_6=Visualiser
GeneralPreferencePage_7=Animate nodes when laying out

GeneralPreferencePage_8=A restart may be required for the theme change to take full effect

0 comments on commit fcc86e9

Please sign in to comment.