Hi Sascha,




I found a
solution that seems to work, but I had to change the code 
(QmitkExtWorkbenchWindowAdvisor.cpp):

…

qToolbar->addAction(viewAction);

QString
temp = viewAction->text();

if(
temp.toStdString() == "Clipping Plane" )

 viewAction->setVisible(false);

…




Best
wishes!



Date: Tue, 17 Jun 2014 13:38:03 +0200
From: [email protected]
To: [email protected]
Subject: Re: [mitk-users] Turn Plugins Off Without Running CMake Again


  
    
  
  
    Hi Michael,

      

      I am not sure about that one... please send your question to
      [email protected]. You will reach many more
      experienced MITK developers who might be able to help you out.

      

      Thanks,

      Sascha

      

      On 06/16/2014 10:24 AM, Michael Smith wrote:

    
    
      
      Hi Sascha,

        

        is there an easy way to turn off the
        ClippingPlane-Toolbar-Button from the Segmentation?

        

        Best wishes!

        

        

        
          Date: Thu, 12 Jun 2014 17:24:10 +0200

          From: [email protected]

          To: [email protected];
          [email protected]

          Subject: Re: [mitk-users] Turn Plugins Off Without Running
          CMake Again

          

          Hi,

            

            no, you would need to modify source code and recompile the
            application for that kind of customization.

            

            Best,

            Sascha

            

            

            

            On 06/12/2014 02:37 PM, Michael Smith wrote:

          
          
            
            
              Dear Sascha,
              

                
              Thanks for the fast reply! Your
                  suggestion works fine for me right now!
              Is there also a similar way to turn
                  on/off the menu entries from the Workbench (e.g.
                  Window or Help)?
              

                
              Best wishes!
              

                
              

              
                Date: Thu, 12 Jun 2014 13:14:14
                +0200

                From: [email protected]

                To: [email protected];
                [email protected]

                Subject: Re: [mitk-users] Turn Plugins Off Without
                Running CMake Again

                

                On 06/12/2014 09:59 AM,
                  Michael Smith wrote:

                
                
                  
                  Dear all,

                    

                    I build the Workbench with several Plugins. However,
                    is there an option to turn some Plugins off without
                    using/running CMake again (e.g. make them invisible
                    in the Workbench)?

                    

                    Thanks for any help!

                    

                  
                
                Hi,

                

                this is more of a hack/workaround: You can comment out
                individual lines in the MitkWorkbench.provisioning file
                using the '#' character. But you need to make sure the
                inter-plugin dependencies are still satisfied.

                

                You then probably also need to start the workbench with
                the --BlueBerry.clean argument (/BlueBerry.clean on
                Windows).

                

                Best,

                Sascha

              
            
          
          

        
      
    
    
                                          
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to