Profile Picture

how to activate PointerTool after inserting node ?

Posted By Balasaheb 14 Years Ago
Author
Message
Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi,

To restore the default set of the tools you can use the following code:

 

string[] toolNames = new string[] {

      NDWFR.ToolCreateGuideline,

      NDWFR.ToolHandle,

      NDWFR.ToolMove,

      NDWFR.ToolSelector,

      NDWFR.ToolContextMenu,

      NDWFR.ToolKeyboard,

      NDWFR.ToolInplaceEdit,

      NDWFR.ToolMouseEventDelegator

};

 

view.Controller.Tools.SingleEnableTools(toolNames);

 



Best Regards,
Nevron Support Team



Balasaheb
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 6, Visits: 1

nDrawingView.Controller.Tools.SingleEnableTool(NDWFR.ToolCreateConnector);

NCreateConnectorTool tool = nDrawingView.Controller.Tools.GetToolByName(NDWFR.ToolCreateConnector) as NCreateConnectorTool;

tool.ConnectorType = ConnectorType.DynamicHV;

 

using above code i am activating ConnectorTool. and then insert a connector, now how to disable that connector tool?

and activate default PointerTool. so i can add another nodes





Similar Topics


Reading This Topic