Package de.xima.fc.gui.event
Class PlaceholderProjectContextChangedEvent
java.lang.Object
de.xima.fc.gui.event.PlaceholderProjectContextChangedEvent
- All Implemented Interfaces:
Serializable
Event data that may be used when the selected project for the placeholder dialog has changed. Makes the placeholder
dialog display the form field for that project.
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new event data instance for when context change to the given project occurred, assuming it uses theProjekt.getActiveVersion()
andProjekt.getActiveWorkflowVersion()
.PlaceholderProjectContextChangedEvent
(Projekt project, FormVersion formVersion, WorkflowVersion workflowVersion) Creates a new event for a context change to the given project with the given form and workflow version, which may not be equal to the active version. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
PlaceholderProjectContextChangedEvent
Create a new event data instance for when context change to the given project occurred, assuming it uses theProjekt.getActiveVersion()
andProjekt.getActiveWorkflowVersion()
.- Parameters:
project
- New project context.
-
PlaceholderProjectContextChangedEvent
public PlaceholderProjectContextChangedEvent(Projekt project, FormVersion formVersion, WorkflowVersion workflowVersion) Creates a new event for a context change to the given project with the given form and workflow version, which may not be equal to the active version.- Parameters:
project
- New project context.formVersion
- Form version that is being edited.workflowVersion
- Workflow version that is being edited.
-
-
Method Details
-
getFormVersion
- Returns:
- The form version of the newly selected project.
-
getProject
- Returns:
- The project that was selected and for which the available form placeholders should be shown.
-
getWorkflowVersion
- Returns:
- The workflow version of the newly selected proect.
-