Class InteractiveConfirmationProvider
java.lang.Object
org.eclipse.net4j.util.ui.confirmation.InteractiveConfirmationProvider
- All Implemented Interfaces:
IConfirmationProvider
- Since:
- 3.4
- Author:
- Christian W. Damus (CEA LIST)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.confirmation.IConfirmationProvider
IConfirmationProvider.Provider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfirm
(String subject, String message, Set<Confirmation> acceptable, Confirmation suggestion) Requests confirmation of some action/operation/consequence pertaining to asubject
and described by amessage
.boolean
-
Constructor Details
-
InteractiveConfirmationProvider
public InteractiveConfirmationProvider()
-
-
Method Details
-
isInteractive
public boolean isInteractive()- Specified by:
isInteractive
in interfaceIConfirmationProvider
-
confirm
public Confirmation confirm(String subject, String message, Set<Confirmation> acceptable, Confirmation suggestion) Description copied from interface:IConfirmationProvider
Requests confirmation of some action/operation/consequence pertaining to asubject
and described by amessage
. Any of the non-empty set ofacceptable
responses may be returned, and the requester may optionally provide asuggestion
of a suitable/safe default answer.- Specified by:
confirm
in interfaceIConfirmationProvider
-