public class HttpTemplateWizardPage extends org.eclipse.jface.wizard.WizardPage implements SectionSourceExtensionContext
HttpTemplate
.Modifier | Constructor and Description |
---|---|
protected |
HttpTemplateWizardPage(org.eclipse.core.resources.IProject project,
AbstractOfficeFloorEditPart<?,?,?> editPart,
HttpTemplateInstance templateInstance,
Map<String,WoofTemplateInheritance> templateInheritances)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
static Map<String,HttpTemplateExtensionSourceInstance> |
createHttpTemplateExtensionSourceInstanceMap(ClassLoader classLoader,
org.eclipse.core.resources.IProject project)
Creates the mapping of
WoofTemplateExtensionSource class name to
its HttpTemplateExtensionInstance . |
String |
getContentType()
Obtains the Content-Type for the
WoofTemplateModel . |
HttpTemplateExtensionInstance[] |
getHttpTemplateExtensionInstances()
Obtains the
HttpTemplateExtensionInstance listing. |
Map<String,Boolean> |
getLinksSecure()
Obtains the
HttpTemplate link override secure configuration. |
String |
getLogicClassName()
Obtains the logic class name.
|
org.eclipse.core.resources.IProject |
getProject()
Obtains the
IProject that is adding the OfficeSection . |
PropertyList |
getPropertyList()
Obtains the
PropertyList . |
String[] |
getRenderRedirectHttpMethods()
Obtains the HTTP methods that are to trigger a redirect on rendering the
HttpTemplate . |
SectionType |
getSectionType()
Obtains the
SectionType for the HttpTemplateInstance . |
WoofTemplateInheritance |
getSuperTemplateInheritance()
Obtains the
WoofTemplateInheritance for the super
WoofTemplateModel . |
String |
getTemplatePath()
Obtains the template path.
|
String |
getUriPath()
Obtains the URI path.
|
boolean |
isContinueRendering()
Indicates if allow continue rendering.
|
boolean |
isTemplateSecure()
Indicates if the
HttpTemplate requires a secure
ServerHttpConnection . |
void |
notifyPropertiesChanged()
Notifies of a change to the
PropertyList . |
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
setErrorMessage, setTitle
protected HttpTemplateWizardPage(org.eclipse.core.resources.IProject project, AbstractOfficeFloorEditPart<?,?,?> editPart, HttpTemplateInstance templateInstance, Map<String,WoofTemplateInheritance> templateInheritances)
project
- IProject
.editPart
- AbstractOfficeFloorEditPart
.templateInstance
- HttpTemplateInstance
.templateInheritances
- WoofTemplateInheritance
instances by their
WoofTemplateModel
name.public static Map<String,HttpTemplateExtensionSourceInstance> createHttpTemplateExtensionSourceInstanceMap(ClassLoader classLoader, org.eclipse.core.resources.IProject project)
WoofTemplateExtensionSource
class name to
its HttpTemplateExtensionInstance
.classLoader
- ClassLoader
.project
- IProject
.WoofTemplateExtensionSource
class name to its
HttpTemplateExtensionInstance
.public String getUriPath()
public String getTemplatePath()
public String getLogicClassName()
public SectionType getSectionType()
SectionType
for the HttpTemplateInstance
.SectionType
for the HttpTemplateInstance
.public WoofTemplateInheritance getSuperTemplateInheritance()
WoofTemplateInheritance
for the super
WoofTemplateModel
.WoofTemplateInheritance
for the super
WoofTemplateModel
.public String getContentType()
WoofTemplateModel
.WoofTemplateModel
.public boolean isTemplateSecure()
HttpTemplate
requires a secure
ServerHttpConnection
.true
should the HttpTemplate
requires a
secure ServerHttpConnection
.public Map<String,Boolean> getLinksSecure()
HttpTemplate
link override secure configuration.HttpTemplate
link override secure configuration.public String[] getRenderRedirectHttpMethods()
HttpTemplate
.HttpTemplate
.public boolean isContinueRendering()
true
to allow continue rendering.public HttpTemplateExtensionInstance[] getHttpTemplateExtensionInstances()
HttpTemplateExtensionInstance
listing.HttpTemplateExtensionInstance
listing.public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
public org.eclipse.core.resources.IProject getProject()
SectionSourceExtensionContext
IProject
that is adding the OfficeSection
.getProject
in interface SectionSourceExtensionContext
IProject
that is adding the OfficeSection
.public PropertyList getPropertyList()
SectionSourceExtensionContext
Obtains the PropertyList
. All changes to Property
instances for the SectionSource
are to be done on this
PropertyList
.
The PropertyList
may be in any state:
PropertyList
populated from the
SectionSourceSpecification
(creating a OfficeSection
)OfficeSection
(editing OfficeSection
)getPropertyList
in interface SectionSourceExtensionContext
PropertyList
.public void notifyPropertiesChanged()
SectionSourceExtensionContext
Notifies of a change to the PropertyList
.
This allows for to report issues in attempting to source the
SectionType
from the SectionSource
with the
PropertyList
.
notifyPropertiesChanged
in interface SectionSourceExtensionContext
Copyright © 2005–2016. All rights reserved.