Example #1
0
 public ApplicationMenuItemDefinition(string id, string title, string role, string tooltip, string icon, string application, string schema, SchemaMode mode)
     : base(id, title, role, tooltip, icon)
 {
     Application = application;
     Schema      = schema;
     Mode        = mode;
 }
Example #2
0
 public ApplicationCompositionSchema(bool inline, string detailSchema, SchemaMode renderMode, CompositionFieldRenderer renderer)
 {
     _inline       = inline;
     _renderer     = renderer;
     _detailSchema = detailSchema;
     _renderMode   = renderMode;
 }
 public ApplicationMenuItemDefinition(string id, string title, string role, string tooltip, string icon, string application, string schema, SchemaMode mode, IDictionary <string, string> parameters, string moduleName)
     : base(id, title, role, tooltip, icon)
 {
     Application = application;
     Schema      = schema;
     Mode        = mode;
     Parameters  = parameters;
     Module      = moduleName;
 }
 public DashboardDefinition(String id, String title, String applicationName, String schemaId,
                            SchemaMode mode, Int32 pageSize, Int32 totalCount, String tooltip, string viewAllSchema = "list", string detailSchema = "detail", string idFieldName = "")
 {
     Id              = id;
     Title           = title;
     ApplicationName = applicationName;
     SchemaId        = schemaId;
     Mode            = mode;
     PageSize        = pageSize;
     TotalCount      = totalCount;
     Tooltip         = tooltip;
     ViewAllSchema   = viewAllSchema;
     DetailSchema    = detailSchema;
     IdFieldName     = idFieldName;
 }
 public ApplicationCompositionSchema(bool inline, string detailSchema, SchemaMode renderMode, CompositionFieldRenderer renderer,
                                     string printSchema, string dependantfields, FetchType fetchType)
 {
     _inline       = inline;
     Renderer      = renderer;
     _detailSchema = detailSchema;
     PrintSchema   = printSchema;
     RenderMode    = renderMode;
     FetchType     = fetchType;
     if (dependantfields != null)
     {
         var fields = dependantfields.Split(',');
         foreach (var field in fields)
         {
             _dependantFields.Add(field);
         }
     }
 }
Example #6
0
 public ApplicationCompositionCollectionSchema(bool inline, string detailSchema, CompositionCollectionProperties collectionProperties,
                                               SchemaMode renderMode, CompositionFieldRenderer renderer, string printSchema, string dependantfield, FetchType fetchType) :
     base(inline, detailSchema, renderMode, renderer, printSchema, dependantfield, fetchType)
 {
     _collectionProperties = collectionProperties;
 }
 /// <remarks/>
 public void SetSchemaModeAsync(SchemaMode mode, object userState) {
     if ((this.SetSchemaModeOperationCompleted == null)) {
         this.SetSchemaModeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetSchemaModeOperationCompleted);
     }
     this.InvokeAsync("SetSchemaMode", new object[] {
                 mode}, this.SetSchemaModeOperationCompleted, userState);
 }
 /// <remarks/>
 public void SetSchemaModeAsync(SchemaMode mode) {
     this.SetSchemaModeAsync(mode, null);
 }
 public void SetSchemaMode(SchemaMode mode) {
     this.Invoke("SetSchemaMode", new object[] {
                 mode});
 }
Example #10
0
 public ApplicationCompositionCollectionSchema(bool inline, string detailSchema,
                                               CompositionCollectionProperties collectionProperties, SchemaMode renderMode, CompositionFieldRenderer renderer) :
     base(inline, detailSchema, renderMode, renderer)
 {
     _collectionProperties = collectionProperties;
 }