Added:
trunk/ExtJS2Parser/ExtJS2Parser/MoreCode/WindowMgr.txt
Modified:
trunk/ExtJS2Parser/ExtJS2Parser/Components/ExtProperty.cs
trunk/ExtJS2Parser/ExtJS2Parser/ExtJS2Parser.csproj
Log:
Modified: trunk/ExtJS2Parser/ExtJS2Parser/Components/ExtProperty.cs
==============================================================================
--- trunk/ExtJS2Parser/ExtJS2Parser/Components/ExtProperty.cs (original)
+++ trunk/ExtJS2Parser/ExtJS2Parser/Components/ExtProperty.cs Tue Jun
24 13:05:55 2008
@@ -76,6 +76,9 @@
ep.Name = line.Substring("@property".Length).Trim();
if (ep.Name.Contains(".")) ep.Name =
ep.Name.Substring(0, ep.Name.IndexOf(".")).Trim();
+ // hack for Ext.dd.DDProxy.dragElId
+ if (ec.Name == "DDProxy" && ep.Name == "Ext")
ep.Name = "dragElId";
+
// hack for ColumnModel config property
// @property {Array} config
if (ec.Name == "ColumnModel" &&
line.EndsWith("config")) {
Modified: trunk/ExtJS2Parser/ExtJS2Parser/ExtJS2Parser.csproj
==============================================================================
--- trunk/ExtJS2Parser/ExtJS2Parser/ExtJS2Parser.csproj (original)
+++ trunk/ExtJS2Parser/ExtJS2Parser/ExtJS2Parser.csproj Tue Jun 24
13:05:55 2008
@@ -79,6 +79,7 @@
<Content Include="MoreCode\data\HttpProxyConfig.txt" />
<Content Include="MoreCode\PagingToolbarConfig.txt" />
<Content Include="MoreCode\PanelConfig.txt" />
+ <Content Include="MoreCode\WindowMgr.txt" />
</ItemGroup>
<ItemGroup>
<Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />
Added: trunk/ExtJS2Parser/ExtJS2Parser/MoreCode/WindowMgr.txt
==============================================================================
--- (empty file)
+++ trunk/ExtJS2Parser/ExtJS2Parser/MoreCode/WindowMgr.txt Tue Jun 24
13:05:55 2008
@@ -0,0 +1,117 @@
+ /// <summary>The starting z-index for windows (defaults to 9000)</summary>
+ [IntrinsicProperty]
+ public static double zseed { get { return 0; } set { } }
+
+
+ /// <summary>Gets a registered window by id.</summary>
+ /// <returns>Ext.Window</returns>
+ public static Ext.WindowClass get() { return null; }
+
+ /// <summary>Gets a registered window by id.</summary>
+ /// <param name="id">The id of the window or a {@link
Ext.Window} instance</param>
+ /// <returns>Ext.Window</returns>
+ public static Ext.WindowClass get(System.String id) { return
null; }
+
+ /// <summary>Gets a registered window by id.</summary>
+ /// <param name="id">The id of the window or a {@link
Ext.Window} instance</param>
+ /// <returns>Ext.Window</returns>
+ public static Ext.WindowClass get(object id) { return null; }
+
+ /// <summary>
+ /// Brings the specified window to the front of any other
active windows.
+ /// if it was already in front
+ /// </summary>
+ /// <returns>Boolean</returns>
+ public static bool bringToFront() { return false; }
+
+ /// <summary>
+ /// Brings the specified window to the front of any other
active windows.
+ /// if it was already in front
+ /// </summary>
+ /// <param name="win">The id of the window or a {@link
Ext.Window} instance</param>
+ /// <returns>Boolean</returns>
+ public static bool bringToFront(System.String win) { return
false; }
+
+ /// <summary>
+ /// Brings the specified window to the front of any other
active windows.
+ /// if it was already in front
+ /// </summary>
+ /// <param name="win">The id of the window or a {@link
Ext.Window} instance</param>
+ /// <returns>Boolean</returns>
+ public static bool bringToFront(object win) { return false; }
+
+ /// <summary>Sends the specified window to the back of other
active windows.</summary>
+ /// <returns>Ext.Window</returns>
+ public static Ext.WindowClass sendToBack() { return null; }
+
+ /// <summary>Sends the specified window to the back of other
active windows.</summary>
+ /// <param name="win">The id of the window or a {@link
Ext.Window} instance</param>
+ /// <returns>Ext.Window</returns>
+ public static Ext.WindowClass sendToBack(System.String win) {
return null; }
+
+ /// <summary>Sends the specified window to the back of other
active windows.</summary>
+ /// <param name="win">The id of the window or a {@link
Ext.Window} instance</param>
+ /// <returns>Ext.Window</returns>
+ public static Ext.WindowClass sendToBack(object win) { return
null; }
+
+ /// <summary>Hides all windows in the group.</summary>
+ /// <returns></returns>
+ public static void hideAll() { return ; }
+
+ /// <summary>Gets the currently-active window in the group.</summary>
+ /// <returns>Ext.Window</returns>
+ public static Ext.WindowClass getActive() { return null; }
+
+ /// <summary>
+ /// Returns zero or more windows in the group using the
custom search function passed to this method.
+ /// The function should accept a single {@link Ext.Window}
reference as its only argument and should
+ /// return true if the window matches the search criteria,
otherwise it should return false.
+ /// that gets passed to the function if not specified)
+ /// </summary>
+ /// <returns>Array</returns>
+ public static System.Array getBy() { return null; }
+
+ /// <summary>
+ /// Returns zero or more windows in the group using the
custom search function passed to this method.
+ /// The function should accept a single {@link Ext.Window}
reference as its only argument and should
+ /// return true if the window matches the search criteria,
otherwise it should return false.
+ /// that gets passed to the function if not specified)
+ /// </summary>
+ /// <param name="fn">The search function</param>
+ /// <returns>Array</returns>
+ public static System.Array getBy(Delegate fn) { return null; }
+
+ /// <summary>
+ /// Returns zero or more windows in the group using the
custom search function passed to this method.
+ /// The function should accept a single {@link Ext.Window}
reference as its only argument and should
+ /// return true if the window matches the search criteria,
otherwise it should return false.
+ /// that gets passed to the function if not specified)
+ /// </summary>
+ /// <param name="fn">The search function</param>
+ /// <param name="scope">(optional) The scope in which to
execute the function (defaults to the window</param>
+ /// <returns>Array</returns>
+ public static System.Array getBy(Delegate fn, object scope) {
return null; }
+
+ /// <summary>
+ /// Executes the specified function once for every window
in the group, passing each
+ /// window as the only parameter. Returning false from the
function will stop the iteration.
+ /// </summary>
+ /// <returns></returns>
+ public static void each() { return ; }
+
+ /// <summary>
+ /// Executes the specified function once for every window
in the group, passing each
+ /// window as the only parameter. Returning false from the
function will stop the iteration.
+ /// </summary>
+ /// <param name="fn">The function to execute for each item</param>
+ /// <returns></returns>
+ public static void each(Delegate fn) { return ; }
+
+ /// <summary>
+ /// Executes the specified function once for every window
in the group, passing each
+ /// window as the only parameter. Returning false from the
function will stop the iteration.
+ /// </summary>
+ /// <param name="fn">The function to execute for each item</param>
+ /// <param name="scope">(optional) The scope in which to
execute the function</param>
+ /// <returns></returns>
+ public static void each(Delegate fn, object scope) { return ; }