Return-Path: X-Original-To: apmail-chemistry-commits-archive@www.apache.org Delivered-To: apmail-chemistry-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88E1D1098F for ; Fri, 28 Nov 2014 08:47:24 +0000 (UTC) Received: (qmail 75816 invoked by uid 500); 28 Nov 2014 08:47:24 -0000 Delivered-To: apmail-chemistry-commits-archive@chemistry.apache.org Received: (qmail 75769 invoked by uid 500); 28 Nov 2014 08:47:24 -0000 Mailing-List: contact commits-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list commits@chemistry.apache.org Received: (qmail 75758 invoked by uid 99); 28 Nov 2014 08:47:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2014 08:47:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2014 08:47:20 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id ADE832388FE1; Fri, 28 Nov 2014 08:44:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1642272 [26/29] - in /chemistry/parts: branches/ tags/ trunk/ trunk/cmis-js/ trunk/cmis-js/components/ trunk/cmis-js/components/browser/ trunk/cmis-js/components/library/ trunk/cmis-js/lib/ trunk/cmis-js/samples/ trunk/cmis-js/samples/brow... Date: Fri, 28 Nov 2014 08:44:33 -0000 To: commits@chemistry.apache.org From: fmui@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141128084442.ADE832388FE1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/library/template.html URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/library/template.html?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/library/template.html (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/library/template.html Fri Nov 28 08:44:28 2014 @@ -0,0 +1,515 @@ + + +
+ + + + + + + + + + + + + + + + +
\ No newline at end of file Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/SiteAssets/library/template.html ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/key.snk URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/key.snk?rev=1642272&view=auto ============================================================================== Binary file - no diff available. Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.SiteAssets/CMIS.Sharepoint2010.SiteAssets/key.snk ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts.sln URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts.sln?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts.sln (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts.sln Fri Nov 28 08:44:28 2014 @@ -0,0 +1,33 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CMIS.Sharepoint2010.WebParts", "CMIS.Sharepoint2010.WebParts\CMIS.Sharepoint2010.WebParts.csproj", "{B8916234-5193-4085-85AF-2288688D446C}" + ProjectSection(ProjectDependencies) = postProject + {FE8B6B87-E092-442F-9747-1954A4362713} = {FE8B6B87-E092-442F-9747-1954A4362713} + EndProjectSection +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CMIS.Sharepoint2010.SiteAssets", "..\CMIS.Sharepoint2010.SiteAssets\CMIS.Sharepoint2010.SiteAssets\CMIS.Sharepoint2010.SiteAssets.csproj", "{FE8B6B87-E092-442F-9747-1954A4362713}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B8916234-5193-4085-85AF-2288688D446C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B8916234-5193-4085-85AF-2288688D446C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B8916234-5193-4085-85AF-2288688D446C}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {B8916234-5193-4085-85AF-2288688D446C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B8916234-5193-4085-85AF-2288688D446C}.Release|Any CPU.Build.0 = Release|Any CPU + {B8916234-5193-4085-85AF-2288688D446C}.Release|Any CPU.Deploy.0 = Release|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Release|Any CPU.Build.0 = Release|Any CPU + {FE8B6B87-E092-442F-9747-1954A4362713}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Browser.cs URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Browser.cs?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Browser.cs (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Browser.cs Fri Nov 28 08:44:28 2014 @@ -0,0 +1,226 @@ +using System; +using System.ComponentModel; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using Microsoft.SharePoint; +using Microsoft.SharePoint.WebControls; +using System.Linq; +using System.Collections.Generic; + +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +namespace CMIS.Sharepoint2010.WebParts.Browser +{ + [ToolboxItemAttribute(false)] + public class Browser : WebPart, IWebEditable + { + // Visual Studio might automatically update this path when you change the Visual Web Part project item. + private const string _ascxPath = @"~/_CONTROLTEMPLATES/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx"; + + private string _cmisConnectionName = ""; + private string _cmisConnectionUrl = ""; + private string _cmisConnectionDomain = ""; + private string _cmisConnectionUser = ""; + private string _cmisConnectionPassword = ""; + + private string _cmisInitialObjectID = ""; + private string _cmisInitialPath = ""; + + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISConnectionName + { + get + { + return _cmisConnectionName; + } + set + { + _cmisConnectionName = value; + } + } + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISConnectionUrl + { + get + { + return _cmisConnectionUrl; + } + set + { + _cmisConnectionUrl = value; + } + } + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISConnectionUser + { + get + { + return _cmisConnectionUser; + } + set + { + _cmisConnectionUser = value; + } + } + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISConnectionPassword + { + get + { + return _cmisConnectionPassword; + } + set + { + _cmisConnectionPassword = value; + } + } + + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISInitialObjectID + { + get + { + return _cmisInitialObjectID; + } + set + { + _cmisInitialObjectID = value; + } + } + + // Hide the property so it will not show in toolpane + [WebBrowsable(false), + Personalizable(PersonalizationScope.Shared), + DefaultValue("")] + public string CMISInitialPath + { + get + { + return _cmisInitialPath; + } + set + { + _cmisInitialPath = value; + } + } + + private BrowserUserControl control; + protected override void CreateChildControls() + { + control = (BrowserUserControl) Page.LoadControl(_ascxPath); + control.ParentWebPart = this; + Controls.Add(control); + + //HiddenField hiddenWebPartProperties = new HiddenField() { ID = "BrowserWebPartProperties", ClientIDMode = System.Web.UI.ClientIDMode.Static }; // 4.0 NET + //HiddenField hiddenWebPartProperties = new HiddenField() { ID = "BrowserWebPartProperties"}; + //this.Controls.Add(hiddenWebPartProperties); + } + + protected override void OnPreRender(EventArgs e) + { + base.OnPreRender(e); + + // use a JSON array for the the WebPart Properties + string webPartPropertiesJSON = string.Empty; + + if (CMISConnectionName != null && CMISConnectionName.Length > 0) + { + // get connection variables from the CMIS Connection list + using (SPSite siteCollection = new SPSite(SPContext.Current.Web.Url)) + { + using (SPWeb web = siteCollection.OpenWeb()) + { + SPListItemCollection iColl = web.Lists["CMIS Connections"].Items; + foreach (SPListItem item in iColl) + { + if (item["Title"].ToString().Equals(CMISConnectionName)) + { + CMISConnectionUrl = (item["Url"]!=null?item["Url"].ToString():""); + CMISConnectionUser = (item["UserName"]!=null?item["UserName"].ToString():""); + CMISConnectionPassword = (item["Password"]!=null?item["Password"].ToString():""); + } + } + } + } + + // Get connection parametsr from web.config + //ConnectionStringSettings c = System.Configuration.ConfigurationManager.ConnectionStrings[CMISConnectionName]; + //string[] a = c.ConnectionString.Split(';'); + //CMISConnectionUrl = ""; + //CMISConnectionDomain = ""; + //CMISConnectionUser = ""; + //CMISConnectionPassword = ""; + //foreach (string s in a) + //{ + // if (s.Contains("=")) + // { + // string key = s.Trim().Split('=')[0].Trim(); + // string value = s.Trim().Split('=')[1].Trim(); + // if (key.ToUpper().Equals("URL")) CMISConnectionUrl = value; + // if (key.ToUpper().Equals("DOMAIN")) CMISConnectionDomain = value; + // if (key.ToUpper().Equals("USERNAME")) CMISConnectionUser = value; + // if (key.ToUpper().Equals("PASSWORD")) CMISConnectionPassword = value; + // } + //} + + webPartPropertiesJSON = "{ 'ConnectionName': '" + CMISConnectionName + "', 'Url': '" + CMISConnectionUrl + "', 'Username': '" + CMISConnectionUser + "', 'Password': '" + CMISConnectionPassword + "', 'InitialObjectID': '" + (CMISInitialObjectID == null ? "" : CMISInitialObjectID) + "', 'InitialPath': '" + (CMISInitialPath == null ? "" : CMISInitialPath) + "' }"; + + } + else + { + webPartPropertiesJSON = "{ 'ConnectionName': '', 'Url': '', 'Username': '', 'Password': '', 'InitialObjectID': '" + (CMISInitialObjectID == null ? "" : CMISInitialObjectID) + "', 'InitialPath': '" + (CMISInitialPath == null ? "" : CMISInitialPath) + "' }"; + } + ((HiddenField)control.FindControl("BrowserWebPartProperties")).Value = webPartPropertiesJSON; + //((HiddenField)this.FindControl("BrowserUserControl").FindControl("BrowserWebPartProperties")).Value = webPartPropertiesJSON; + } + + // load the custom editor panek + EditorPartCollection IWebEditable.CreateEditorParts() + { + var editors = new List(); + BrowserEditorWebPart editorPart = new BrowserEditorWebPart(); + editorPart.ID = ID + "_editorPart"; + editors.Add(editorPart); + return new EditorPartCollection(editors); + } + + object IWebEditable.WebBrowsableObject + { + get { return this; } + } + + } +} Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Browser.webpart URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Browser.webpart?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Browser.webpart (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Browser.webpart Fri Nov 28 08:44:28 2014 @@ -0,0 +1,15 @@ + + + + + + $Resources:core,ImportErrorMessage; + + + + Browser + This component can be used to browse a CMIS 1.1 compliant repository using a tree folder. + + + + Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserEditorWebPart.cs URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserEditorWebPart.cs?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserEditorWebPart.cs (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserEditorWebPart.cs Fri Nov 28 08:44:28 2014 @@ -0,0 +1,187 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Web.UI; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.WebControls; +using System.Configuration; +using Microsoft.SharePoint; +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +namespace CMIS.Sharepoint2010.WebParts.Browser +{ + class BrowserEditorWebPart : EditorPart + { + + protected Browser ParentWebPart { get; set; } + private DropDownList CMISConnectionChoices { get; set; } + //protected ConnectionStringSettingsCollection cs = new ConnectionStringSettingsCollection(); + private TextBox CMISInitialObjectID { get; set; } + private TextBox CMISInitialPath { get; set; } + + public BrowserEditorWebPart() + { + Title = "CMIS Connections"; + } + + /// + /// Creates the controls + /// + protected override void CreateChildControls() + { + + CMISConnectionChoices = new DropDownList(); + CMISInitialObjectID = new TextBox(); + CMISInitialPath = new TextBox(); + //cs.Clear(); + loadConnections(); + + Controls.Add(new LiteralControl("
CMIS Library
")); + Controls.Add(new LiteralControl("
")); + Controls.Add(CMISConnectionChoices); + Controls.Add(new LiteralControl("
")); + Controls.Add(new LiteralControl("
Initial Object ID
")); + Controls.Add(new LiteralControl("
")); + Controls.Add(CMISInitialObjectID); + Controls.Add(new LiteralControl("
")); + Controls.Add(new LiteralControl("
Initial Path
")); + Controls.Add(new LiteralControl("
")); + Controls.Add(CMISInitialPath); + Controls.Add(new LiteralControl("
")); + + //Controls.Add(new LiteralControl("
")); + //CheckBox cbx = new CheckBox(); + //cbx.ID = "boolShowProperties"; + //cbx.Checked = false; + //cbx.Text = "Show Connection Properties"; + //Controls.Add(cbx); + //Controls.Add(new LiteralControl("
")); + + base.CreateChildControls(); + + ChildControlsCreated = true; + } + + + protected override void Render(HtmlTextWriter writer) + { + EnsureChildControls(); + base.Render(writer); + } + + /// + /// Reads current value from parent web part and show that in the ddl + /// + public override void SyncChanges() + { + EnsureChildControls(); + ParentWebPart = WebPartToEdit as Browser; + + if (ParentWebPart != null && WebPartManager.Personalization.Scope == PersonalizationScope.Shared) + { + ListItem item = CMISConnectionChoices.Items.FindByValue(ParentWebPart.CMISConnectionName); + if (item != null) item.Selected = true; + CMISInitialObjectID.Text = (ParentWebPart.CMISInitialObjectID == null ? "" : ParentWebPart.CMISInitialObjectID); + CMISInitialPath.Text = (ParentWebPart.CMISInitialPath == null ? "" : ParentWebPart.CMISInitialPath); + } + } + + /// + /// Applies change in editor part ddl to the parent web part + /// + /// + public override bool ApplyChanges() + { + try + { + EnsureChildControls(); + ParentWebPart = WebPartToEdit as Browser; + + if (ParentWebPart != null && WebPartManager.Personalization.Scope == PersonalizationScope.Shared) + { + ParentWebPart.CMISConnectionName = CMISConnectionChoices.SelectedValue; + ParentWebPart.CMISInitialObjectID = CMISInitialObjectID.Text; + ParentWebPart.CMISInitialPath = CMISInitialPath.Text; + + // load connection parameters from web.config + //foreach (ConnectionStringSettings c in cs) + //{ + // if (c.Name.Equals(ParentWebPart.CMISConnectionName)) + // { + // string[] a = c.ConnectionString.Split(';'); + // ParentWebPart.CMISConnectionUrl = ""; + // ParentWebPart.CMISConnectionUser = ""; + // ParentWebPart.CMISConnectionPassword = ""; + // foreach (string s in a) + // { + // if (s.Contains("=")) + // { + // string key = s.Trim().Split('=')[0].Trim(); + // string value = s.Trim().Split('=')[1].Trim(); + // if (key.ToUpper().Equals("URL")) ParentWebPart.CMISConnectionUrl = value; + // if (key.ToUpper().Equals("USERNAME")) ParentWebPart.CMISConnectionUser = value; + // if (key.ToUpper().Equals("PASSWORD")) ParentWebPart.CMISConnectionPassword = value; + // } + // } + // break; + // } + //} + } + // The operation was succesful + return true; + } + catch (Exception e) + { + System.Diagnostics.Debug.WriteLine("Exeption: " + e.Message); + // Because an error has occurred, the SyncChanges() method won’t be invoked. + return false; + } + } + + protected void loadConnections() + { + try + { + + StringBuilder s = new StringBuilder(); + int i = 0; + using (SPSite siteCollection = new SPSite(SPContext.Current.Web.Url)) + { + using (SPWeb web = siteCollection.OpenWeb()) + { + SPListItemCollection iColl = web.Lists["CMIS Connections"].Items; + foreach (SPListItem item in iColl) + { + CMISConnectionChoices.Items.Add(new ListItem(item["Title"].ToString(), item["Title"].ToString())); + } + } + } + } + catch (Exception ex) + { + //Utility.msg("CMIS.BrowserEditorWebPart.LoadConnection:Exception: " + ex.Message, Microsoft.SharePoint.Administration.TraceSeverity.High); + throw new Exception("CMIS.BrowserEditorWebPart.LoadConnection:Exception: " + ex.Message); + } + + } + + + } +} Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx Fri Nov 28 08:44:28 2014 @@ -0,0 +1,79 @@ +<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> +<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> +<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> +<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> +<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %> +<%@ Import Namespace="Microsoft.SharePoint" %> +<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BrowserUserControl.ascx.cs" Inherits="CMIS.Sharepoint2010.WebParts.Browser.BrowserUserControl" %> + + + +Browser + + + + + + + + + + +
+ + + + + + + \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx.cs URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx.cs?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx.cs (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx.cs Fri Nov 28 08:44:28 2014 @@ -0,0 +1,21 @@ +using System; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; + +namespace CMIS.Sharepoint2010.WebParts.Browser +{ + public partial class BrowserUserControl : UserControl + { + + public Browser ParentWebPart + { + get; + set; + } + + protected void Page_Load(object sender, EventArgs e) + { + } + } +} Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx.designer.cs URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx.designer.cs?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx.designer.cs (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/BrowserUserControl.ascx.designer.cs Fri Nov 28 08:44:28 2014 @@ -0,0 +1,87 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace CMIS.Sharepoint2010.WebParts.Browser { + + + public partial class BrowserUserControl { + + /// + /// jQueryLib control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::Microsoft.SharePoint.WebControls.ScriptLink jQueryLib; + + /// + /// CMISLib control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::Microsoft.SharePoint.WebControls.ScriptLink CMISLib; + + /// + /// CMISBrowserJS control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::Microsoft.SharePoint.WebControls.ScriptLink CMISBrowserJS; + + /// + /// CMISBrowserCSS control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Literal CMISBrowserCSS; + + /// + /// ProjectProperty2 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::Microsoft.SharePoint.WebControls.ProjectProperty ProjectProperty2; + + /// + /// Literal4 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Literal Literal4; + + /// + /// CMISWebParts control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::Microsoft.SharePoint.WebControls.ScriptLink CMISWebParts; + + /// + /// BrowserWebPartProperties control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField BrowserWebPartProperties; + } +} Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Elements.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Elements.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Elements.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Elements.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,8 @@ + + + + + + + + Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/Elements.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/SharePointProjectItem.spdata URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/SharePointProjectItem.spdata?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/SharePointProjectItem.spdata (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/Browser/SharePointProjectItem.spdata Fri Nov 28 08:44:28 2014 @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/CMIS Connections Instance/Elements.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS%20Connections/CMIS%20Connections%20Instance/Elements.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/CMIS Connections Instance/Elements.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/CMIS Connections Instance/Elements.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,9 @@ + + + + + Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/CMIS Connections Instance/Elements.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/CMIS Connections Instance/SharePointProjectItem.spdata URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS%20Connections/CMIS%20Connections%20Instance/SharePointProjectItem.spdata?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/CMIS Connections Instance/SharePointProjectItem.spdata (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/CMIS Connections Instance/SharePointProjectItem.spdata Fri Nov 28 08:44:28 2014 @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/Elements.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS%20Connections/Elements.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/Elements.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/Elements.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,14 @@ + + + + + Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/Elements.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/Schema.xml URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS%20Connections/Schema.xml?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/Schema.xml (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/Schema.xml Fri Nov 28 08:44:28 2014 @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + main.xsl + 30 + + + + + + + + + + + + + + + + + main.xsl + 30 + + + + + + + + + + + + + + + + + + + +
+ + + + + \ No newline at end of file Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/Schema.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/SharePointProjectItem.spdata URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS%20Connections/SharePointProjectItem.spdata?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/SharePointProjectItem.spdata (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS Connections/SharePointProjectItem.spdata Fri Nov 28 08:44:28 2014 @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts.csproj URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts.csproj?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts.csproj (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts.csproj Fri Nov 28 08:44:28 2014 @@ -0,0 +1,123 @@ + + + + Debug + AnyCPU + 2.0 + {B8916234-5193-4085-85AF-2288688D446C} + Library + Properties + CMIS.Sharepoint2010.WebParts + CMIS.Sharepoint2010.WebParts + v3.5 + 512 + {BB1F664B-9266-4fd6-B973-E1E44974B511};{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + False + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + true + + + key.snk + + + + + + + + + + + + + + + + + + BrowserUserControl.ascx + ASPXCodeBehind + + + BrowserUserControl.ascx.cs + + + + + DocumentsUserControl.ascx + ASPXCodeBehind + + + DocumentsUserControl.ascx.cs + + + + + + + + {516c0792-c283-45d2-bbbb-7daee316b20b} + + + {766c0d35-171c-46df-a03f-98202c65eb82} + + + {350c8a7a-cacb-42ac-b38a-2e7c67726cc9} + + + + {7cf4cad4-d3c4-4850-9b98-9229f603e815} + + + {ce1a608a-df79-45e6-80fa-ba0088584a0e} + + + + {9618152f-8148-4c90-9ced-92d6f5a7c786} + + + Package.package + + + + + + ASPXCodeBehind + + + + Designer + + + + + ASPXCodeBehind + + + + Components.feature + + + + + \ No newline at end of file Added: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CredentialScripts/MicrosoftAjax.js URL: http://svn.apache.org/viewvc/chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CredentialScripts/MicrosoftAjax.js?rev=1642272&view=auto ============================================================================== --- chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CredentialScripts/MicrosoftAjax.js (added) +++ chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CredentialScripts/MicrosoftAjax.js Fri Nov 28 08:44:28 2014 @@ -0,0 +1,6 @@ +//---------------------------------------------------------- +// Copyright (C) Microsoft Corporation. All rights reserved. +//---------------------------------------------------------- +// MicrosoftAjax.js [... 3 lines stripped ...] Propchange: chemistry/parts/trunk/sharepoint-projects/CMIS.Sharepoint2010.WebParts/CMIS.Sharepoint2010.WebParts/CredentialScripts/MicrosoftAjax.js ------------------------------------------------------------------------------ svn:eol-style = native