|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.mff.procasor.core.helper.UseCaseStepHelper
Helper class for UseCaseStep.
Method Summary | |
static UseCaseStep |
create(java.lang.String stepMark,
java.lang.String text)
Creates new UseCaseStep and inicializes all parametrs. |
static java.lang.String |
getExtensionStepMark(UseCaseStep step)
Generates new stepMark, that extends step from parameter. |
static java.lang.String |
getNextStepMark(UseCaseStep step)
Generates new stepMark, that follows step from parameter. |
static void |
reMarkSteps(UseCase useCase,
UseCaseStep step,
java.lang.String mark)
Remarks useCaseSteps. |
static void |
remove(UseCase useCase,
UseCaseStep useCaseStep)
Remove uasCaseStep from project. |
static void |
save(UseCaseStep useCaseStep,
UseCase useCase,
int position)
Generate id for useCaseStep and add this step to the UseCase to the specified postion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static UseCaseStep create(java.lang.String stepMark, java.lang.String text)
stepMark
- text of stepMarktext
- text of step
public static void save(UseCaseStep useCaseStep, UseCase useCase, int position)
useCaseStep
- use case step, which id is generateduseCase
- use case, step belongs toposition
- position of step in List of use case stepspublic static void remove(UseCase useCase, UseCaseStep useCaseStep)
useCase
- use case, step belongs touseCaseStep
- step to be removed from projectpublic static java.lang.String getNextStepMark(UseCaseStep step)
step
- step
public static java.lang.String getExtensionStepMark(UseCaseStep step)
step
- step
public static void reMarkSteps(UseCase useCase, UseCaseStep step, java.lang.String mark)
useCase
- use case, steps belong tostep
- step to be remarked firstmark
- new mark for the step
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |