Class Reason
java.lang.Object
org.eclipse.graphiti.features.impl.Reason
- All Implemented Interfaces:
IReason
The Class Reason.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IReasonCreates the false reason.static IReasoncreateFalseReason(String string) Creates the false reason.static IReasonCreates the true reason.static IReasoncreateTrueReason(String string) Creates the true reason.getText()Gets the text.voidsetBool(boolean bool) Sets the bool.voidSets the text.booleanConverts 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:IReasonGets 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:IReasonConverts to boolean. -
toString
-