Class InteractiveConfirmationProvider
- java.lang.Object
-
- org.eclipse.net4j.util.ui.confirmation.InteractiveConfirmationProvider
-
- All Implemented Interfaces:
IConfirmationProvider
public class InteractiveConfirmationProvider extends java.lang.Object implements IConfirmationProvider
- Since:
- 3.4
- Author:
- Christian W. Damus (CEA LIST)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InteractiveConfirmationProvider.Factory
-
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.confirmation.IConfirmationProvider
IConfirmationProvider.Provider
-
-
Constructor Summary
Constructors Constructor Description InteractiveConfirmationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Confirmation
confirm(java.lang.String subject, java.lang.String message, java.util.Set<Confirmation> acceptable, Confirmation suggestion)
Requests confirmation of some action/operation/consequence pertaining to asubject
and described by amessage
.boolean
isInteractive()
-
-
-
Method Detail
-
isInteractive
public boolean isInteractive()
- Specified by:
isInteractive
in interfaceIConfirmationProvider
-
confirm
public Confirmation confirm(java.lang.String subject, java.lang.String message, java.util.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
-
-