本文整理汇总了Java中org.gwtbootstrap3.client.ui.ModalBody类的典型用法代码示例。如果您正苦于以下问题:Java ModalBody类的具体用法?Java ModalBody怎么用?Java ModalBody使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ModalBody类属于org.gwtbootstrap3.client.ui包,在下文中一共展示了ModalBody类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: AbstractConcurrentChangePopup
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
protected AbstractConcurrentChangePopup(final String content,
final Command onIgnore,
final Command onAction,
final String buttonText) {
setTitle(CommonConstants.INSTANCE.Error());
add(new ModalBody() {{
add(uiBinder.createAndBindUi(AbstractConcurrentChangePopup.this));
}});
add(new ModalFooterReOpenIgnoreButtons(this,
onAction,
onIgnore,
buttonText));
message.setHTML(SafeHtmlUtils.fromTrustedString(content));
}
示例2: NewTabFilterPopup
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public NewTabFilterPopup() {
setTitle(CommonConstants.INSTANCE.Filter_Management());
add(new ModalBody() {{
add(uiBinder.createAndBindUi(NewTabFilterPopup.this));
}});
tabBasic.setDataTargetWidget(tab1);
tabFilter.setDataTargetWidget(tab2);
init();
final GenericModalFooter footer = new GenericModalFooter();
footer.addButton(CommonConstants.INSTANCE.Add_New_Filter(),
new Command() {
@Override
public void execute() {
okButton();
}
},
null,
ButtonType.PRIMARY);
add(footer);
}
示例3: AddTag
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public AddTag(PerspectiveEditorPresenter perspectivePresenter) {
this.perspectivePresenter = perspectivePresenter;
setTitle(CommonConstants.INSTANCE.AddTag());
add(new ModalBody() {{
add(uiBinder.createAndBindUi(AddTag.this));
}});
add(new ModalFooterOKCancelButtons(
new Command() {
@Override
public void execute() {
okButton();
}
},
new Command() {
@Override
public void execute() {
cancelButton();
}
}
));
}
示例4: RuleModellerActionSelectorPopup
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public RuleModellerActionSelectorPopup(final RuleModel model,
final RuleModeller ruleModeller,
final Collection<RuleModellerActionPlugin> actionPlugins,
final Integer position,
final AsyncPackageDataModelOracle oracle) {
super(model,
ruleModeller,
position,
oracle);
this.actionPlugins = actionPlugins;
this.add(new ModalBody() {{
add(getContent());
}});
add(new ModalFooterOKCancelButtons(okCommand,
cancelCommand));
}
示例5: PackageNameFormPopupViewImpl
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public PackageNameFormPopupViewImpl() {
add( new ModalBody() {{
add( uiBinder.createAndBindUi( PackageNameFormPopupViewImpl.this ) );
}} );
add( new ModalFooterOKCancelButtons( new Command() {
@Override
public void execute() {
presenter.onOk();
}
}, new Command() {
@Override
public void execute() {
hide();
}
}
) );
}
示例6: SequenceGeneratorEditionDialog
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public SequenceGeneratorEditionDialog() {
setTitle( "Sequence Generator" );
//setMaxHeigth( "450px" );
add( new ModalBody() {{
add( uiBinder.createAndBindUi( SequenceGeneratorEditionDialog.this ) );
}} );
add( new ModalFooterOKCancelButtons(
new Command() {
@Override
public void execute() {
okButton();
}
},
new Command() {
@Override
public void execute() {
cancelButton();
}
}
)
);
}
示例7: AddImportPopup
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public AddImportPopup() {
setTitle(ImportConstants.INSTANCE.addImportPopupTitle());
add(new ModalBody() {{
add(uiBinder.createAndBindUi(AddImportPopup.this));
}});
add(footer);
importTypeListBox.getElement().getStyle().setWidth(100.0,
Style.Unit.PCT);
importTypeListBox.addChangeHandler(new ChangeHandler() {
@Override
public void onChange(ChangeEvent event) {
final boolean enable = importTypeListBox.getSelectedIndex() > 0;
footer.enableOkButton(enable);
}
});
}
示例8: FormListPopupViewImpl
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public FormListPopupViewImpl() {
final ModalFooterOKCancelButtons footer = new ModalFooterOKCancelButtons( new Command() {
@Override
public void execute() {
presenter.onOk();
hide();
}
}, new Command() {
@Override
public void execute() {
hide();
}
}
);
add( new ModalBody() {{
add( uiBinder.createAndBindUi( FormListPopupViewImpl.this ) );
}} );
add( footer );
setTitle( CommonConstants.INSTANCE.New() );
}
示例9: YesNoCancelPopup
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
protected YesNoCancelPopup(final String title,
final String content,
final Command yesCommand,
final String yesButtonText,
final ButtonType yesButtonType,
final IconType yesButtonIconType,
final Command noCommand,
final String noButtonText,
final ButtonType noButtonType,
final IconType noButtonIconType,
final Command cancelCommand,
final String cancelButtonText,
final ButtonType cancelButtonType,
final IconType cancelButtonIconType) {
setTitle(title);
setHideOtherModals(false);
add(new ModalBody() {{
add(uiBinder.createAndBindUi(YesNoCancelPopup.this));
}});
add(new ModalFooterYesNoCancelButtons(this,
yesCommand,
yesButtonText,
yesButtonType,
yesButtonIconType,
noCommand,
noButtonText,
noButtonType,
noButtonIconType,
cancelCommand,
cancelButtonText,
cancelButtonType,
cancelButtonIconType));
message.setHTML(SafeHtmlUtils.fromTrustedString(content != null ? content : ""));
}
示例10: NewFilterPopup
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public NewFilterPopup() {
createProvider();
initColumns();
setTitle(CommonConstants.INSTANCE.Filter_Management());
add(new ModalBody() {{
add(uiBinder.createAndBindUi(NewFilterPopup.this));
}});
tabAdd.setDataTargetWidget(tab1);
tabManagement.setDataTargetWidget(tab2);
init();
final GenericModalFooter footer = new GenericModalFooter();
footer.addButton(CommonConstants.INSTANCE.OK(),
new Command() {
@Override
public void execute() {
okButton();
}
},
null,
ButtonType.PRIMARY);
add(footer);
}
示例11: init
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public void init(NewPluginPopUpView.Presenter presenter) {
this.presenter = presenter;
footer.enableOkButton(true);
add(new ModalBody() {{
add(uiBinder.createAndBindUi(NewPluginPopUpViewImpl.this));
}});
add(footer);
}
示例12: RuleModellerConditionSelectorPopup
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public RuleModellerConditionSelectorPopup(final RuleModel model,
final RuleModeller ruleModeller,
final Integer position,
final AsyncPackageDataModelOracle oracle) {
super(model,
ruleModeller,
position,
oracle);
add(new ModalBody() {{
add(getContent());
}});
add(new ModalFooterOKCancelButtons(okCommand,
cancelCommand));
}
示例13: DeploymentScreenPopupViewImpl
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public DeploymentScreenPopupViewImpl() {
setTitle(ProjectEditorResources.CONSTANTS.BuildAndDeploy());
setDataBackdrop(ModalBackdrop.STATIC);
setDataKeyboard(true);
setFade(true);
setRemoveOnHide(true);
final ModalBody modalBody = GWT.create(ModalBody.class);
modalBody.add(uiBinder.createAndBindUi(DeploymentScreenPopupViewImpl.this));
add(modalBody);
add(footer);
}
示例14: AddImportPopup
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public AddImportPopup() {
setTitle(ImportConstants.INSTANCE.addImportPopupTitle());
add(new ModalBody() {{
add(uiBinder.createAndBindUi(AddImportPopup.this));
}});
add(footer);
importTypeTextBox.addKeyPressHandler((event) -> {
importTypeGroup.setValidationState(ValidationState.NONE);
importTypeHelpInline.setText("");
});
}
示例15: WorkbenchConfigurationViewImpl
import org.gwtbootstrap3.client.ui.ModalBody; //导入依赖的package包/类
public WorkbenchConfigurationViewImpl() {
footer.enableOkButton( true );
add( new ModalBody() {{
add( uiBinder.createAndBindUi( WorkbenchConfigurationViewImpl.this ) );
}} );
add( footer );
}