Search Results for

    Show / Hide Table of Contents

    Interface IApplicationDefinition

    Represents a fusion flexible layout (aka. An Application Definition document)

    Inherited Members
    IResource.ValidatingSchema
    IResource.ResourceID
    IResource.ResourceType
    IResource.Serialize()
    IResource.IsStronglyTyped
    IVersionedEntity.ResourceVersion
    System.ICloneable.Clone()
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    IExtensibleElement.Extension
    Namespace: OSGeo.MapGuide.ObjectModels.ApplicationDefinition
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    public interface IApplicationDefinition : IResource, IVersionedEntity, ICloneable, INotifyPropertyChanged, IExtensibleElement

    Properties

    | Improve this Doc View Source

    MapSet

    Gets the map set

    Declaration
    IMapSet MapSet { get; }
    Property Value
    Type Description
    IMapSet
    | Improve this Doc View Source

    TemplateUrl

    Gets or sets the template url

    Declaration
    string TemplateUrl { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Title

    Gets or sets the title

    Declaration
    string Title { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    WidgetSets

    Gets the widget sets

    Declaration
    IEnumerable<IWidgetSet> WidgetSets { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IWidgetSet>

    Methods

    | Improve this Doc View Source

    AddMapGroup(String)

    Adds the new map group to the current map set

    Declaration
    IMapGroup AddMapGroup(string id)
    Parameters
    Type Name Description
    System.String id
    Returns
    Type Description
    IMapGroup
    | Improve this Doc View Source

    AddMapGroup(String, Boolean, String)

    Adds the new map group to the current map set with a default MapGuide child map

    Declaration
    IMapGroup AddMapGroup(string id, bool singleTile, string mapDefinitionId)
    Parameters
    Type Name Description
    System.String id
    System.Boolean singleTile
    System.String mapDefinitionId
    Returns
    Type Description
    IMapGroup
    | Improve this Doc View Source

    AddMapGroup(String, Boolean, String, Double, Double, Double)

    Adds a new map group to the specified map set with a default MapGuide child map

    Declaration
    IMapGroup AddMapGroup(string id, bool singleTile, string mapDefinitionId, double centerX, double centerY, double scale)
    Parameters
    Type Name Description
    System.String id
    System.Boolean singleTile
    System.String mapDefinitionId
    System.Double centerX
    System.Double centerY
    System.Double scale
    Returns
    Type Description
    IMapGroup
    | Improve this Doc View Source

    AddWidgetSet(IWidgetSet)

    Adds the specified widget set

    Declaration
    void AddWidgetSet(IWidgetSet set)
    Parameters
    Type Name Description
    IWidgetSet set
    | Improve this Doc View Source

    CreateContainer(String, IApplicationDefinitionContainerInfo)

    Creates a widget reference UI container

    Declaration
    IUIItemContainer CreateContainer(string name, IApplicationDefinitionContainerInfo containerInfo)
    Parameters
    Type Name Description
    System.String name
    IApplicationDefinitionContainerInfo containerInfo
    Returns
    Type Description
    IUIItemContainer
    | Improve this Doc View Source

    CreateFlyout(String)

    Create a flyout menu

    Declaration
    IFlyoutItem CreateFlyout(string label)
    Parameters
    Type Name Description
    System.String label
    Returns
    Type Description
    IFlyoutItem
    | Improve this Doc View Source

    CreateMapWidget(String, String)

    Creates a map widget

    Declaration
    IMapWidget CreateMapWidget(string mapId, string contextMenuId)
    Parameters
    Type Name Description
    System.String mapId
    System.String contextMenuId
    Returns
    Type Description
    IMapWidget
    | Improve this Doc View Source

    CreateSeparator()

    Creates a separator

    Declaration
    ISeparator CreateSeparator()
    Returns
    Type Description
    ISeparator
    | Improve this Doc View Source

    CreateWidget(String, IWidgetInfo)

    Create a widget from the specified widget information

    Declaration
    IWidget CreateWidget(string name, IWidgetInfo widgetInfo)
    Parameters
    Type Name Description
    System.String name
    IWidgetInfo widgetInfo
    Returns
    Type Description
    IWidget
    | Improve this Doc View Source

    CreateWidgetReference(String)

    Creates a widget reference

    Declaration
    IWidgetItem CreateWidgetReference(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    IWidgetItem
    | Improve this Doc View Source

    CreateWidgetSet(IMapWidget)

    Creates a widget set

    Declaration
    IWidgetSet CreateWidgetSet(IMapWidget mapWidget)
    Parameters
    Type Name Description
    IMapWidget mapWidget
    Returns
    Type Description
    IWidgetSet
    | Improve this Doc View Source

    RemoveWidgetSet(IWidgetSet)

    Removes the specified widget set

    Declaration
    void RemoveWidgetSet(IWidgetSet set)
    Parameters
    Type Name Description
    IWidgetSet set

    Extension Methods

    ExtensionMethods.CopyResourceDataTo(IResource, IServerConnection, IResource)
    ExtensionMethods.CopyResourceDataTo(IResource, IServerConnection, String)
    ResourceExtensions.SerializeToStream(IResource)
    ResourceExtensions.GetResourceTypeDescriptor(IResource)
    ExtensionMethods.GetTemplateName(IApplicationDefinition)
    ExtensionMethods.WidgetNameExists(IApplicationDefinition, String)
    ExtensionMethods.FindWidget(IApplicationDefinition, String)
    ExtensionMethods.RemoveWidget(IApplicationDefinition, String, Boolean)
    ExtensionMethods.GetNames(IExtensibleElement)
    ExtensionMethods.GetAllValues(IExtensibleElement)
    ExtensionMethods.SetSubjectOrExternalLayerProperties(IExtensibleElement, IDictionary<String, Object>)
    ExtensionMethods.SetAllValues(IExtensibleElement, NameValueCollection)
    ExtensionMethods.SetValue(IExtensibleElement, String, String)
    ExtensionMethods.CreateExtensionElement(IExtensibleElement, String)
    ExtensionMethods.GetValue(IExtensibleElement, String)
    ExtensionMethods.GetFirstWidgetSet(IApplicationDefinition)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng