Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
kernel
Commits
40016b4a
Commit
40016b4a
authored
Feb 08, 2016
by
Florian Hölzl
Browse files
RED
refs 2490
parent
77f67206
Changes
3
Hide whitespace changes
Inline
Side-by-side
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/editor/CommonDiagramEditorBase.java
View file @
40016b4a
...
...
@@ -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
{
...
...
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/editor/DiagramKeyHandler.java
View file @
40016b4a
...
...
@@ -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
...
...
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/editpart/allocation/AllocationConnectionEditPartBase.java
View file @
40016b4a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment