/** * Turn off the edition of the perspective */ public void editOff() { editOn = false; // Resumes the automatic refresh on all the displayers. for (Displayer displayer : displayerCoordinator.getDisplayerList()) { displayer.setRefreshOn(true); } }
/** * Turn on the edition of the perspective */ public void editOn() { editOn = true; // Turns off the automatic refresh of all the displayers. for (Displayer displayer : displayerCoordinator.getDisplayerList()) { displayer.setRefreshOn(false); } }
/** * Turn off the edition of the perspective */ public void editOff() { editOn = false; // Resumes the automatic refresh on all the displayers. for (Displayer displayer : displayerCoordinator.getDisplayerList()) { displayer.setRefreshOn(true); } }
/** * Turn on the edition of the perspective */ public void editOn() { editOn = true; // Turns off the automatic refresh of all the displayers. for (Displayer displayer : displayerCoordinator.getDisplayerList()) { displayer.setRefreshOn(false); } }
protected void initDisplayer() { if (displayer != null) { displayer.close(); } displayer = displayerLocator.lookupDisplayer(displayerSettings); displayer.addListener(displayerListener); displayer.setRefreshOn(false); displayer.draw(); }
protected void initDisplayer() { if (displayer != null) { displayer.close(); } displayer = displayerLocator.lookupDisplayer(displayerSettings); displayer.addListener(displayerListener); displayer.setRefreshOn(false); displayer.draw(); }
public void showDisplayer() { if (view.isTableDisplayModeOn()) { try { DisplayerSettings tableSettings = displayerSettings.cloneInstance(); tableSettings.setTitleVisible(false); tableSettings.setType(DisplayerType.TABLE); tableSettings.setTablePageSize(10); tableSettings.setTableWidth(800); tableSettings.setRenderer("default"); Displayer tableDisplayer = displayerLocator.lookupDisplayer(tableSettings); tableDisplayer.addListener(displayerListener); tableDisplayer.setRefreshOn(false); tableDisplayer.draw(); view.showDisplayer(tableDisplayer); } catch (Exception e) { view.error(new ClientRuntimeError(e)); } } else if (supportsHtmlTemplate()) { displayerHtmlEditor.setDisplayer(displayer); view.showDisplayer(displayerHtmlEditor); } else { view.showDisplayer(displayer); } }
public void showDisplayer() { if (view.isTableDisplayModeOn()) { try { DisplayerSettings tableSettings = displayerSettings.cloneInstance(); tableSettings.setTitleVisible(false); tableSettings.setType(DisplayerType.TABLE); tableSettings.setTablePageSize(10); tableSettings.setTableWidth(800); tableSettings.setRenderer("default"); Displayer tableDisplayer = displayerLocator.lookupDisplayer(tableSettings); tableDisplayer.addListener(displayerListener); tableDisplayer.setRefreshOn(false); tableDisplayer.draw(); view.showDisplayer(tableDisplayer); } catch (Exception e) { view.error(new ClientRuntimeError(e)); } } else if (supportsHtmlTemplate()) { displayerHtmlEditor.setDisplayer(displayer); view.showDisplayer(displayerHtmlEditor); } else { view.showDisplayer(displayer); } }