Class Reason
java.lang.Object
org.eclipse.graphiti.features.impl.Reason
- All Implemented Interfaces:
IReason
The Class Reason.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IReason
Creates the false reason.static IReason
createFalseReason
(String string) Creates the false reason.static IReason
Creates the true reason.static IReason
createTrueReason
(String string) Creates the true reason.getText()
Gets the text.void
setBool
(boolean bool) Sets the bool.void
Sets the text.boolean
Converts to boolean.toString()
-
Constructor Details
-
Method Details
-
createFalseReason
Creates the false reason.- Returns:
- the i reason
-
createFalseReason
Creates the false reason.- Parameters:
string
- the string- Returns:
- the i reason
-
createTrueReason
Creates the true reason.- Returns:
- the i reason
-
createTrueReason
Creates the true reason.- Parameters:
string
- the string- Returns:
- the i reason
-
getText
Description copied from interface:IReason
Gets the text. -
setBool
public void setBool(boolean bool) Sets the bool.- Parameters:
bool
- the new bool
-
setText
Sets the text.- Parameters:
reasonText
- the new text
-
toBoolean
public boolean toBoolean()Description copied from interface:IReason
Converts to boolean. -
toString
-