Skip to content

Commit

Permalink
Fixed style issues in code templates of the PluginGenerator.
Browse files Browse the repository at this point in the history
  • Loading branch information
saschazelzer committed Feb 26, 2013
1 parent a3ada97 commit 8256c06
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ Core/Code/CppMicroServices/**/*.h copyright=apache-license

# There is no need to check files in the utilities directory for copyright
Utilities/** -copyright
Applications/PluginGenerator/PluginTemplate/src/**/*.h -copyright
Applications/PluginGenerator/PluginTemplate/src/**/*.cpp -copyright
Applications/PluginGenerator/ProjectTemplate/Apps/TemplateApp/TemplateApp.cpp -copyright

# ExternalData content links must have LF newlines
*.md5 crlf=input
24 changes: 12 additions & 12 deletions Applications/PluginGenerator/LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ modification, are permitted provided that the following conditions are met:
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the German Cancer Research Center, nor the names of
its contributors may be used to endorse or promote products derived from
* Neither the name of the German Cancer Research Center, nor the names of
its contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ Describe the features of your awesome plugin here
</ul>

*/

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
\ingroup MITKPlugins

\brief Describe your plugin here.

*/

/**
Expand Down
1 change: 0 additions & 1 deletion Applications/PluginGenerator/PluginTemplate/files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ endforeach(file ${SRC_CPP_FILES})
foreach(file ${INTERNAL_CPP_FILES})
set(CPP_FILES ${CPP_FILES} src/internal/${file})
endforeach(file ${INTERNAL_CPP_FILES})

2 changes: 1 addition & 1 deletion Applications/PluginGenerator/PluginTemplate/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin>

<extension point="org.blueberry.ui.views">
<view id="$(view-id)"
name="$(view-name)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
#include "ui_$(view-file-name)Controls.h"


/*!
/**
\brief $(view-class-name)
\warning This class is not yet documented. Use "git blame" and ask the author to provide basic documentation.
\sa QmitkFunctionality
\sa QmitkAbstractView
\ingroup ${plugin_target}_internal
*/
class $(view-class-name) : public QmitkAbstractView
Expand All @@ -28,15 +28,15 @@ class $(view-class-name) : public QmitkAbstractView

static const std::string VIEW_ID;

virtual void CreateQtPartControl(QWidget *parent);

protected slots:

/// \brief Called when the user clicks the GUI button
void DoImageProcessing();

protected:

virtual void CreateQtPartControl(QWidget *parent);

virtual void SetFocus();

/// \brief called by QmitkFunctionality when DataManager's selection has changed
Expand All @@ -48,4 +48,3 @@ class $(view-class-name) : public QmitkAbstractView
};

#endif // $(view-file-name)_h

0 comments on commit 8256c06

Please sign in to comment.