public class ActivitiesConfigurationPage extends AbstractTemplateConfigurationPage
Modifier and Type | Field and Description |
---|---|
protected static int |
ACTIVITIES_TREE_MINIMUM_WIDTH
Minimum width for activities tree control
|
static java.lang.String |
CONTENT_CREATOR_ID |
group
Constructor and Description |
---|
ActivitiesConfigurationPage(ITemplateConfigurationPageGroup group) |
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
Creates the controls including the checkbox tree viewer for the
activities and the description text control
|
boolean |
finishPage(org.eclipse.core.runtime.IProgressMonitor progressMonitor) |
protected java.util.Set<java.lang.String> |
getCheckedActivityIds()
Returns the set of activity ids that are checked in the activities
control.
|
protected org.eclipse.emf.transaction.TransactionalEditingDomain |
getEditingDomain()
Return an editing domain which will be used to load a
FileTemplate in order to obtain any capabilities
applied to the root element. |
protected boolean |
isEnabled()
Returns
true if the enablement checkbox is checked,
false otherwise. |
getTemplateConfigurationPageGroup
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final java.lang.String CONTENT_CREATOR_ID
protected static final int ACTIVITIES_TREE_MINIMUM_WIDTH
public ActivitiesConfigurationPage(ITemplateConfigurationPageGroup group)
public void createControl(org.eclipse.swt.widgets.Composite parent)
parent
- the parent composite to be treated as the controls' parentprotected java.util.Set<java.lang.String> getCheckedActivityIds()
protected boolean isEnabled()
true
if the enablement checkbox is checked,
false
otherwise.public boolean finishPage(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
protected org.eclipse.emf.transaction.TransactionalEditingDomain getEditingDomain()
FileTemplate
in order to obtain any capabilities
applied to the root element.