Skip to content
Snippets Groups Projects
Commit bd4ca5ef authored by Florian Hölzl's avatar Florian Hölzl
Browse files

YELLOW

refs 311
parent 5e9611c8
No related branches found
No related tags found
No related merge requests found
...@@ -38,14 +38,11 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService; ...@@ -38,14 +38,11 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService;
* @author hoelzl * @author hoelzl
* @author $Author$ * @author $Author$
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating RED Hash: 1DDC37806BAC50CC6BB5840A863C8DF2 * @ConQAT.Rating YELLOW Hash: B8D3975736E43F76782CCA394A4BCE3E
*/ */
public interface IModelElementHandler<T extends EObject> extends public interface IModelElementHandler<T extends EObject> extends
IEObjectAware<T> { IEObjectAware<T> {
// TODO @Review CD:unsure about visibilities. possibly emphasize by using
// /*package*/ Object name....
/** Returns the name of the model element (if any). */ /** Returns the name of the model element (if any). */
String getName(T element); String getName(T element);
...@@ -56,7 +53,7 @@ public interface IModelElementHandler<T extends EObject> extends ...@@ -56,7 +53,7 @@ public interface IModelElementHandler<T extends EObject> extends
Image getIcon(); Image getIcon();
/** Returns image descriptor to be used as icon image. */ /** Returns image descriptor to be used as icon image. */
public ImageDescriptor getIconImageDescriptor(); ImageDescriptor getIconImageDescriptor();
/** /**
* Returns all children acting as nodes, which are usually displayed as edit * Returns all children acting as nodes, which are usually displayed as edit
......
<!-- <!--
$Id: package.html 914 2011-07-12 12:16:22Z ratiu $ $Id: package.html 914 2011-07-12 12:16:22Z ratiu $
@version $Rev: 914 $ @version $Rev: 914 $
@ConQAT.Rating YELLOW Hash: 4937634A5C7499B64F188C4A364D8A16 @ConQAT.Rating YELLOW Hash: BE37765EE2B3760E634184DE7450DF3D
--> -->
<body> <body>
// TODO @Review CD: I do not see obvious sufficient resemblance between this explanation and the class.
<br>
<br>
Interfaces and classes for data transfer between the kernel and extensions. Interfaces and classes for data transfer between the kernel and extensions.
<P> <P>
The classes and interfaces of this package appear as parameter and result types of the The classes and interfaces of this package appear as parameter and result types of the
interfaces in the <code>kernel.ui.extension</code> package. Parameter objects resemble methods of interfaces in the <code>kernel.ui.extension</code> package. Parameter objects resemble
additional context data provided to the extension, while result objects are required from the additional context data provided to the extension, while result objects are required from the
extension. extension.
</body> </body>
...@@ -54,7 +54,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService; ...@@ -54,7 +54,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService;
* @author hoelzl * @author hoelzl
* @author $Author$ * @author $Author$
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating RED Hash: 88A64BBF9581BAB1DDF25CDFA888D66D * @ConQAT.Rating YELLOW Hash: EA3783F4D0A722FFCB4BF103A62AD35E
*/ */
public class MarkerViewPart extends ViewPart { public class MarkerViewPart extends ViewPart {
...@@ -222,8 +222,7 @@ public class MarkerViewPart extends ViewPart { ...@@ -222,8 +222,7 @@ public class MarkerViewPart extends ViewPart {
Separator additionsSeperator = new Separator("additions"); Separator additionsSeperator = new Separator("additions");
additionsSeperator.setVisible(true); additionsSeperator.setVisible(true);
toolBarManager.add(additionsSeperator); toolBarManager.add(additionsSeperator);
// TODO @review CD: why not iterate until array.length? for (int i = 0; i < toggleSeverityFilterAction.length; i++) {
for (int i = 0; i < 5; i++) {
toolBarManager.insertAfter("additions", toolBarManager.insertAfter("additions",
toggleSeverityFilterAction[i]); toggleSeverityFilterAction[i]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment