Commit 40016b4a authored by Florian Hölzl's avatar Florian Hölzl
Browse files

RED

refs 2490
parent 77f67206
......@@ -117,7 +117,7 @@ import org.fortiss.tooling.kernel.ui.service.IEditPartFactoryService;
* @author hoelzl
* @author $Author: aravantinos $
* @version $Rev: 13954 $
* @ConQAT.Rating YELLOW Hash: A015DFFF58B1950E95D81CE8D7E39435
* @ConQAT.Rating RED Hash: 3889454412BA494335D8DF83F89CD6F2
*/
abstract class CommonDiagramEditorBase<T extends EObject> extends GEFEditorBase<T> implements
IPostSelectionProvider, ContextMenuContextProvider {
......
......@@ -43,7 +43,7 @@ import org.fortiss.tooling.kernel.service.IPersistencyService;
* @author aravantinos
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 1838199A43C8D3E7FE0ADB54DAAF38A0
* @ConQAT.Rating GREEN Hash: 5EE41557BB4A7BDE48CCD6404F0034BC
*/
public class DiagramKeyHandler extends KeyHandler {
......@@ -71,10 +71,12 @@ public class DiagramKeyHandler extends KeyHandler {
return scrollElementIfNeeded(event);
}
// TODO: @param is too much here
/**
* @param event
* Scrolls the viewer according to the event if no editpart is selected.
*/
// TODO (FH): private?
boolean scrollViewerIfNeeded(KeyEvent event) {
if(!(viewer.getSelectedEditParts().isEmpty() && viewer.getControl() instanceof FigureCanvas))
return false;
......@@ -87,6 +89,7 @@ public class DiagramKeyHandler extends KeyHandler {
return true;
}
// TODO: @param is too much here
/**
* @param event
* Scrolls the model of the selected editpart according to the event.
......@@ -108,6 +111,7 @@ public class DiagramKeyHandler extends KeyHandler {
return true;
}
// TODO: @param is too much here
/**
* @param event
* @return
......
......@@ -24,6 +24,7 @@ import org.fortiss.tooling.base.ui.editpart.ConnectionEditPartBase;
import org.fortiss.tooling.base.ui.layout.IDiagramLayoutConfiguration;
/**
* TODO: comment outdated? e.g. simulation value, bend points?
* Base class for allocation connection edit parts. It provides the figure, labels for the
* connection name and a highlighted simulation value, as well as, bend point
* handling. The basic extension is refresh visuals as only connections between visible edit parts
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment