Exemplo n.º 1
0
        public marqueeContext()
        {
            titleString = "Marquee Tool";
            // Tell the context which XPM to use so the tool can properly
            // be a candidate for the 6th position on the toolbar.
            // path examples\assemblies\examples.nll.dll relative to examples\marqueeTool\marqueeTool.xpm
            string fullPath = ExamplesPlugin.convertRefPathToFullPath(@"..\marqueeTool\marqueeTool.xpm");

            if (System.IO.File.Exists(fullPath))
            {
                setImage(fullPath, MPxContext.ImageIndex.kImage1);
            }
        }
Exemplo n.º 2
0
        public MoveContext()
        {
            titleString = "moveTool";

            // Tell the context which XPM to use so the tool can properly
            // be a candidate for the 6th position on the mini-bar.
            string fullPath = ExamplesPlugin.convertRefPathToFullPath(@"..\moveTool\moveTool.xpm");

            if (System.IO.File.Exists(fullPath))
            {
                setImage(fullPath, MPxContext.ImageIndex.kImage1);
            }
        }