public void setPreviewText(String previewText) { // if (previewText == null) throw new IllegalArgumentException(); fPreviewText= previewText; update(); }
public void setPreviewText(String previewText) { // if (previewText == null) throw new IllegalArgumentException(); fPreviewText= previewText; update(); } }
@Override protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); }
@Override protected void doUpdatePreview() { super.doUpdatePreview(); final String normalSetting= fWorkingValues.get(LINE_SPLIT); fWorkingValues.put(LINE_SPLIT, fPreviewPreferences.get(LINE_SPLIT)); fPreview.update(); fWorkingValues.put(LINE_SPLIT, normalSetting); }
protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); } }
@Override protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); }
@Override protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); }
protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); }
@Override protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); }
@Override protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); } }
protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); }
protected void doUpdatePreview() { super.doUpdatePreview(); final Object normalSetting= fWorkingValues.get(LINE_SPLIT); fWorkingValues.put(LINE_SPLIT, fPreviewPreferences.get(LINE_SPLIT)); fPreview.update(); fWorkingValues.put(LINE_SPLIT, normalSetting); }
@Override protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); } }
@Override protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); }
protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); }
protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); }
protected void doUpdatePreview() { super.doUpdatePreview(); fPreview.update(); }
@Override public void update(Observable o, Object arg) { if (o instanceof ProfileManager) { final int value= ((Integer) arg).intValue(); switch (value) { case ProfileManager.PROFILE_CREATED_EVENT: case ProfileManager.PROFILE_DELETED_EVENT: case ProfileManager.SELECTION_CHANGED_EVENT: case ProfileManager.SETTINGS_CHANGED_EVENT: fJavaPreview.setWorkingValues(((ProfileManager) o).getSelected().getSettings()); fJavaPreview.update(); } } else if (o instanceof CustomCodeFormatterBlock) { final String value = (String) arg; fJavaPreview.setFormatterId(value); fJavaPreview.update(); } }
public PreviewController(ProfileManager profileManager) { profileManager.addObserver(this); fJavaPreview.setWorkingValues(profileManager.getSelected().getSettings()); fJavaPreview.update(); }