Package de.xima.fc.gui.event
Class PlaceholderProjectContextChangedEvent
- java.lang.Object
-
- de.xima.fc.gui.event.PlaceholderProjectContextChangedEvent
-
- All Implemented Interfaces:
Serializable
public class PlaceholderProjectContextChangedEvent extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PlaceholderProjectContextChangedEvent(Projekt project)
Create 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormVersion
getFormVersion()
Projekt
getProject()
WorkflowVersion
getWorkflowVersion()
-
-
-
Constructor Detail
-
PlaceholderProjectContextChangedEvent
public PlaceholderProjectContextChangedEvent(Projekt project)
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 Detail
-
getFormVersion
public FormVersion getFormVersion()
- Returns:
- The form version of the newly selected project.
-
getProject
public Projekt getProject()
- Returns:
- The project that was selected and for which the available form placeholders should be shown.
-
getWorkflowVersion
public WorkflowVersion getWorkflowVersion()
- Returns:
- The workflow version of the newly selected proect.
-
-