Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TULIP
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NUI
TULIP
Commits
63fb29c3
Commit
63fb29c3
authored
Nov 09, 2015
by
Eric Tobias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bugfixes
parent
b98c940b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
TULIP/src/lu/list/itis/dkd/tui/space/SpatialPositioningManager.java
...lu/list/itis/dkd/tui/space/SpatialPositioningManager.java
+1
-1
TULIP/src/lu/list/itis/dkd/tui/widget/FunctionWidget.java
TULIP/src/lu/list/itis/dkd/tui/widget/FunctionWidget.java
+6
-3
No files found.
TULIP/src/lu/list/itis/dkd/tui/space/SpatialPositioningManager.java
View file @
63fb29c3
...
...
@@ -255,7 +255,7 @@ public class SpatialPositioningManager implements SpatialEventListener {
* present.
*/
@SuppressWarnings
(
"unchecked"
)
public
@Nullable
<
T
>
T
getLeftMostWidget
(
Class
<
T
>
_class
)
{
public
synchronized
@Nullable
<
T
>
T
getLeftMostWidget
(
Class
<
T
>
_class
)
{
if
(
getLeftMostObject
()
==
null
)
{
return
null
;
}
...
...
TULIP/src/lu/list/itis/dkd/tui/widget/FunctionWidget.java
View file @
63fb29c3
...
...
@@ -24,14 +24,14 @@ import java.util.TimerTask;
/**
* @author Eric Tobias [eric.tobias@list.lu]
* @since
[major].[minor]
* @version
[major].[minor].[micro]
* @since
2.1
* @version
2.1.4
*/
public
class
FunctionWidget
extends
BaseWidget
{
private
Runnable
runnable
;
private
Timer
cooldownTimer
;
private
boolean
coolingDown
=
false
;
boolean
coolingDown
=
false
;
/**
* @param builder
...
...
@@ -51,10 +51,13 @@ public class FunctionWidget extends BaseWidget {
runnable
.
run
();
coolingDown
=
true
;
cooldownTimer
.
schedule
(
new
TimerTask
()
{
@Override
public
void
run
()
{
coolingDown
=
false
;
}
},
2000
);
}
// TODO Rewrite.
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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