public boolean confirm(String message) { return Window.confirm(message); } }
@Override public void onClick(final ClickEvent event) { if (Window .confirm("Are you sure you want to disconnect and de-federate the local bus from the server bus? " + "This will permanently kill your session. You will need to refresh to reconnect. OK will proceed. Click " + "Cancel to abort this operation")) { clientMessageBus.stop(true); } } });
@Override public void clear() { if (Window.confirm("Are you sure to clean the canvas?")) { clearEvent.fire(new ClearEvent()); } }
@Override public void onClick(final ClickEvent event) { if (Window .confirm("Are you sure you want to disconnect and de-federate the local bus from the server bus? " + "This will permanently kill your session. You will need to refresh to reconnect. OK will proceed. Click " + "Cancel to abort this operation")) { clientMessageBus.stop(true); } } });
public void execute() { if ( Window.confirm( Constants.INSTANCE.AreYouSureYouWantToRemoveTheField0( field.name ) ) ) { fieldsPanel.remove( editor ); fields.remove( field ); } } } );
public void update( final int index, final ItemObjectModel item, final String value ) { if ( Window.confirm( Constants.INSTANCE.PromptForRemoval() ) ) { marshalStrategyDataProvider.getList().remove( index ); } } } );
public void update( final int index, final ItemObjectModel item, final String value ) { if ( Window.confirm( Constants.INSTANCE.PromptForRemoval() ) ) { environmentEntriesDataProvider.getList().remove( index ); } } } );
@Override public void onClick(ClickEvent event) { if (Window.confirm(CommonConstants.INSTANCE.DeleteAppPrompt())) { deleteCommand.execute(dirURI); } } },
public void onClick( final ClickEvent sender ) { if ( Window.confirm( MetadataConstants.INSTANCE.EraseAllCommentsWarning() ) ) { metadata.eraseDiscussion(); makeDirty(); updateCommentList(); } } } );
public void onClick(ClickEvent event) { if ( Window.confirm( TestScenarioConstants.INSTANCE.AreYouSureYouWantToRemoveThisItem() ) ) { scenario.removeExecutionTrace( previousEx ); parent.renderEditor(); } } } );
protected void onDelete() { if (Window.confirm(TestScenarioConstants.INSTANCE.AreYouSureToRemoveCallMethod())) { scenario.removeFixture(mCall); parent.renderEditor(); } }
public void onClick(ClickEvent event) { if (Window.confirm(GuidedRuleEditorResources.CONSTANTS.RemoveThisRuleOption())) { model.removeMetadata(idx); parent.refreshWidget(); } } });
public void onClick( ClickEvent event ) { if ( Window.confirm( GuidedRuleEditorResources.CONSTANTS.RemoveThisEntireConditionQ() ) ) { if ( pattern.removeFactPattern( idx ) ) { getModeller().refreshWidget(); } } } } );
public void onClick( ClickEvent event ) { if ( Window.confirm( GuidedRuleEditorResources.CONSTANTS.RemoveThisEntireConditionQ() ) ) { if ( pattern.removeFactPattern( idx ) ) { getModeller().refreshWidget(); } } } } );
public void onClick(ClickEvent event) { if (Window.confirm(GuidedRuleEditorResources.CONSTANTS.RemoveThisEntireConditionQ())) { setModified(true); pattern.setFactPattern(null); getModeller().refreshWidget(); } } };
public void onClick( ClickEvent event ) { if ( Window.confirm( Constants.INSTANCE.RemoveThisBlockOfData() ) ) { setModified( true ); getFromAccumulatePattern().setSourcePattern( null ); getModeller().refreshWidget(); } } } ) );
public void onClick(ClickEvent event) { if (Window.confirm(GuidedRuleEditorResources.CONSTANTS.RemoveThisItem())) { setModified(true); pattern.removeConstraint(currentRow); getModeller().refreshWidget(); } } };
public void onClick( final ClickEvent w ) { if ( !explorer.isSelected() ) { Window.alert( Constants.INSTANCE.PleaseSelectACategoryToDelete() ); return; } if ( Window.confirm( Constants.INSTANCE.AreYouSureYouWantToDeleteCategory() + explorer.getSelectedCategory().getName() ) ) { isDirty = true; explorer.removeSelected(); } } } );
public void onClick( ClickEvent event ) { if ( Window.confirm( Constants.INSTANCE.RemoveThisItem() ) ) { model.removeField( idx ); setModified( true ); getModeller().refreshWidget(); //Signal possible change in Template variables TemplateVariablesChangedEvent tvce = new TemplateVariablesChangedEvent( getModeller().getModel() ); getEventBus().fireEventFromSource( tvce, getModeller().getModel() ); } } } );
public void onClick(ClickEvent event) { if (Window.confirm(GuidedRuleEditorResources.CONSTANTS.RemoveThisItem())) { model.removeField(idx); setModified(true); getModeller().refreshWidget(); //Signal possible change in Template variables TemplateVariablesChangedEvent tvce = new TemplateVariablesChangedEvent(getModeller().getModel()); getEventBus().fireEventFromSource(tvce, getModeller().getModel()); } } });