Sidebar-Controller-Components.js 865 Bytes
(function()
{
	// Adds Atlassian shapes
	Sidebar.prototype.addControllerComponentsPalette = function()
	{
		var sb = this;
		var lineTags = 'line lines connector connectors connection connections arrow arrows '
		this.setCurrentSearchEntryLibrary('general', 'controller');

		var fns = [
			this.createVertexTemplateEntry('text;strokeColor=none;fillColor=none;html=1;fontSize=24;fontStyle=1;verticalAlign=middle;align=center;', 100, 40, 'Title', 'Title', null, null, 'text heading title'),
			this.createEdgeTemplateEntry('shape=filledEdge;rounded=1;fixDash=1;endArrow=none;strokeWidth=10;fillColor=#BAFDFF;edgeStyle=orthogonalEdgeStyle;flowAnimation=1;strokeColor=#6666FF;endFill=1;metaEdit=0;backgroundOutline=0;', 60, 40, '', '线条')
			];

		this.addPaletteFunctions('controller', '控制元件', false, fns);
		this.setCurrentSearchEntryLibrary();
	};
})();