private void doUpdateTitle(final String title) { // Change screen title. ProjectDiagramExplorerScreen.this.title = title; changeTitleNotificationEvent.fire(new ChangeTitleWidgetEvent(placeRequest, this.title)); }
private void updateTitle(final String title) { // Change screen title. ProjectDiagramPropertiesScreen.this.title = title; changeTitleNotificationEvent.fire(new ChangeTitleWidgetEvent(placeRequest, this.title)); }
protected void updateTitle(final String title) { // Change editor's title. this.title = formatTitle(title); changeTitleNotificationEvent.fire(new ChangeTitleWidgetEvent(this.place, this.title)); }
public void setTitle( final String term ) { if ( !this.term.equals( term ) ) { this.term = term; title = Constants.INSTANCE.SearchResultTitle() + " [ " + term + " ]"; changeTitleWidgetEvent.fire( new ChangeTitleWidgetEvent( placeRequest, title ) ); } }
public void onProcessSelectionEvent( @Observes final ProcessDefSelectionEvent event ) { deploymentId = event.getDeploymentId(); processId = event.getProcessId(); changeTitleWidgetEvent.fire( new ChangeTitleWidgetEvent( this.place, String.valueOf( deploymentId ) + " - " + processId ) ); }
protected void afterRename() { this.afterLoad(); changeTitleNotification.fire(new ChangeTitleWidgetEvent(place, getTitleText(), getTitle())); }
void onRename() { reload(); changeTitleEvent.fire(new ChangeTitleWidgetEvent(editorPlaceRequest, getTitleText(), editorView.getTitleWidget())); }
void onRename() { reload(); changeTitleEvent.fire(new ChangeTitleWidgetEvent(editorPlaceRequest, getTitleText(), editorView.getTitleWidget())); }
protected void afterRename() { this.afterLoad(); changeTitleNotification.fire(new ChangeTitleWidgetEvent(place, getTitleText(), getTitle())); }
public void onProcessSelectionEvent(@Observes final ProcessDefSelectionEvent event) { deploymentId = event.getDeploymentId(); processId = event.getProcessId(); processDefName = event.getProcessDefName(); serverTemplateId = event.getServerTemplateId(); dynamic = event.isDynamic(); primaryActionMenuBuilder.setVisible(dynamic == false); changeTitleWidgetEvent.fire(new ChangeTitleWidgetEvent(this.place, String.valueOf(deploymentId) + " - " + processDefName)); }
ChangeTitleWidgetEvent makeChangeTitleWidgetEvent(final ObservablePath path) { final String titleText = getTitleText(path); final EditorTitle titleWidget = getTitleWidget(); return new ChangeTitleWidgetEvent(getPlace(), titleText, titleWidget); }
ChangeTitleWidgetEvent makeChangeTitleWidgetEvent(final ObservablePath path) { final String titleText = getTitleText(path); final EditorTitle titleWidget = getTitleWidget(); return new ChangeTitleWidgetEvent(getPlace(), titleText, titleWidget); }
@Override public void callback(String response) { if (response == null) { view.setContent(CoreConstants.INSTANCE.EmptyEntry()); } else { view.setContent(response); } changeTitleWidgetEvent.fire( new ChangeTitleWidgetEvent( placeRequest, CoreConstants.INSTANCE.TextEditor() +" [" + path.getFileName() + "]")); } }).readAllString(path);
private void refresh(final D document) { final String documentTitle = getDocumentTitle(document); editorView.refreshTitle(documentTitle); editorView.showBusyIndicator(CommonConstants.INSTANCE.Loading()); refreshDocument(document); final PlaceRequest placeRequest = document.getPlaceRequest(); changeTitleEvent.fire(new ChangeTitleWidgetEvent(placeRequest, documentTitle, getTitleWidget(document))); }
protected void onPlugInRenamed(@Observes final PluginRenamed pluginRenamed) { if (pluginRenamed.getOldPluginName().equals(plugin.getName()) && pluginRenamed.getPlugin().getType().equals(plugin.getType())) { plugin = new Plugin(pluginRenamed.getPlugin().getName(), PluginType.DYNAMIC_MENU, pluginRenamed.getPlugin().getPath()); changeTitleNotification.fire(new ChangeTitleWidgetEvent(place, getTitleText(), getTitle())); } }
protected void load(final DataSetDef dataSetDef, List<DataColumnDef> columns) { if (dataSetDef == null) { view.hideBusyIndicator(); showError(DataSetAuthoringConstants.INSTANCE.dataSetNotFound()); } else { changeTitleNotification.fire(new ChangeTitleWidgetEvent(place, buildTitle())); view.hideBusyIndicator(); edit(dataSetDef, columns); setOriginalHash(getCurrentModelHash()); } }
protected void onPlugInRenamed(@Observes final PluginRenamed pluginRenamed) { if (pluginRenamed.getOldPluginName().equals(plugin.getName()) && pluginRenamed.getPlugin().getType().equals(plugin.getType())) { plugin = new Plugin(pluginRenamed.getPlugin().getName(), PluginType.DYNAMIC_MENU, pluginRenamed.getPlugin().getPath()); changeTitleNotification.fire(new ChangeTitleWidgetEvent(place, getTitleText(), getTitle())); } }
protected void onPlugInRenamed(@Observes final PluginRenamed pluginRenamed) { if (pluginRenamed.getOldPluginName().equals(plugin.getName()) && pluginRenamed.getPlugin().getType().equals(plugin.getType())) { this.plugin = new Plugin(pluginRenamed.getPlugin().getName(), getPluginType(), pluginRenamed.getPlugin().getPath()); changeTitleNotification.fire(new ChangeTitleWidgetEvent(place, getTitleText(), getTitle())); } }
protected void onPlugInRenamed(@Observes final PluginRenamed pluginRenamed) { if (pluginRenamed.getOldPluginName().equals(plugin.getName()) && pluginRenamed.getPlugin().getType().equals(plugin.getType())) { this.plugin = new Plugin(pluginRenamed.getPlugin().getName(), getPluginType(), pluginRenamed.getPlugin().getPath()); changeTitleNotification.fire(new ChangeTitleWidgetEvent(place, getTitleText(), getTitle())); } }
protected void refreshProcessInstance(){ processRuntimeDataService.call((ProcessInstanceSummary pi) -> { changeTitleWidgetEvent.fire(new ChangeTitleWidgetEvent(this.place, String.valueOf(processInstance.getProcessInstanceId()) + " - " + pi.getProcessName())); setSignalAbortActionsVisible(isForLog() == false && pi.getState() == ProcessInstance.STATE_ACTIVE); variableListPresenter.setProcessInstance(pi); processDiagramPresenter.setProcessInstance(pi); detailsPresenter.setProcessInstance(pi); documentListPresenter.setProcessInstance(pi); processInstanceLogPresenter.setProcessInstance(pi); }).getProcessInstance(processInstance); }