Skip to content

Commit 01bf20d

Browse files
committed
License link added.
1 parent 24ff736 commit 01bf20d

32 files changed

+47
-8
lines changed

sampleProjects/com/mindScriptAct/mvcExpressVisualizer/VisualLoggerTestModule.as

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ import flash.display.StageAlign;
2525
import flash.display.StageScaleMode;
2626
import flash.events.Event;
2727
import flash.geom.Point;
28+
import org.mvcexpress.core.traceObjects.MvcTraceActions;
29+
import org.mvcexpress.core.traceObjects.TraceObj;
2830
import org.mvcexpress.modules.ModuleSprite;
2931
import org.mvcexpress.MvcExpress;
3032
import org.mvcexpress.utils.checkClassStringConstants;
@@ -51,6 +53,7 @@ public class VisualLoggerTestModule extends ModuleSprite {
5153
public function VisualLoggerTestModule() {
5254
CONFIG::debug {
5355
MvcExpress.debugFunction = trace;
56+
//MvcExpress.debugFunction = myDebugFunction;
5457
checkClassStringConstants(Msg, DataMsg, ViewMsg);
5558
MvcExpressLogger.init(this.stage, 600, 0, 900, 400, 1, true, MvcExpressLogger.VISUALIZER_TAB);
5659
}
@@ -59,6 +62,14 @@ public class VisualLoggerTestModule extends ModuleSprite {
5962
this.stage.scaleMode = StageScaleMode.NO_SCALE;
6063
}
6164

65+
private function myDebugFunction(traceObj:TraceObj):void {
66+
if (traceObj.action == MvcTraceActions.MEDIATORMAP_MEDIATE) {
67+
if (traceObj.mediatorClass == TestViewAMediator) {
68+
trace( "TestViewAMediator mediates :" + traceObj.viewObject);
69+
}
70+
}
71+
}
72+
6273
override protected function onInit():void {
6374
var moduleLabel:Label;
6475
var roundRectangle:Shape;
@@ -111,13 +122,6 @@ public class VisualLoggerTestModule extends ModuleSprite {
111122

112123
testProxyCButton = new PushButton(this, 180, 570, "Add TestProxyC", handleAddProxyC);
113124

114-
115-
116-
117-
118-
119-
120-
121125
// console module area
122126
roundRectangle = new Shape();
123127
roundRectangle.graphics.lineStyle(2, 0x000000);

src/org/mvcexpress/MvcExpress.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
12
package org.mvcexpress {
23
import org.mvcexpress.core.namespace.pureLegsCore;
34
import org.mvcexpress.core.traceObjects.TraceObj;

src/org/mvcexpress/core/ModuleManager.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
12
package org.mvcexpress.core {
23
import flash.utils.Dictionary;
34
import org.mvcexpress.core.messenger.Messenger;

src/org/mvcexpress/core/interfaces/IProxyMap.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
12
package org.mvcexpress.core.interfaces {
23
import org.mvcexpress.mvc.Proxy;
34

src/org/mvcexpress/core/traceObjects/MvcTraceActions.as

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
12
package org.mvcexpress.core.traceObjects {
23
import org.mvcexpress.core.namespace.pureLegsCore;
34

@@ -29,6 +30,10 @@ public class MvcTraceActions {
2930
static public const MESSENGER_SEND:String = "Messenger.send";
3031
static public const MESSENGER_SENDTOALL:String = "Messenger.sendToAll";
3132

33+
//----------------------------------
34+
// For internal use
35+
//----------------------------------
36+
3237
static pureLegsCore const PROXYMAP_INJECTSTUFF:String = "ProxyMap.injectStuff";
3338

3439
static pureLegsCore const MESSENGER_SEND_HANDLER:String = "Messenger.send.HANDLER";

src/org/mvcexpress/core/traceObjects/TraceCommandMap_execute.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
12
package org.mvcexpress.core.traceObjects {
23
import flash.display.DisplayObject;
34
import org.mvcexpress.core.ModuleBase;

src/org/mvcexpress/core/traceObjects/TraceCommandMap_handleCommandExecute.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
12
package org.mvcexpress.core.traceObjects {
23
import flash.display.DisplayObject;
34
import org.mvcexpress.core.ModuleBase;

src/org/mvcexpress/core/traceObjects/TraceCommandMap_map.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
12
package org.mvcexpress.core.traceObjects {
23

34
/**

src/org/mvcexpress/core/traceObjects/TraceCommandMap_unmap.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
12
package org.mvcexpress.core.traceObjects {
23

34
/**

src/org/mvcexpress/core/traceObjects/TraceCommand_sendMessage.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
12
package org.mvcexpress.core.traceObjects {
23
import flash.display.DisplayObject;
34
import org.mvcexpress.mvc.Command;

0 commit comments

Comments
 (0)