Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
24ce3927
Commit
24ce3927
authored
Nov 02, 2015
by
Björn Richerzhagen
Browse files
Deactivate Link-Vis again (used during debugging)
parent
a50c8233
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/views/visualization/world/TopologyComponentVis.java
View file @
24ce3927
...
...
@@ -162,13 +162,13 @@ public class TopologyComponentVis extends JComponent {
protected
void
toggleActive
()
{
active
=
!
active
;
if
(
active
)
{
lcVis
=
new
LinkComponentVis
(
TopologyComponentVis
.
this
);
VisualizationInjector
.
getWorldPanel
().
add
(
lcVis
);
}
else
if
(
lcVis
!=
null
)
{
VisualizationInjector
.
getWorldPanel
().
remove
(
lcVis
);
}
VisualizationInjector
.
getWorldPanel
().
invalidate
();
//
if (active) {
//
lcVis = new LinkComponentVis(TopologyComponentVis.this);
//
VisualizationInjector.getWorldPanel().add(lcVis);
//
} else if (lcVis != null) {
//
VisualizationInjector.getWorldPanel().remove(lcVis);
//
}
//
VisualizationInjector.getWorldPanel().invalidate();
}
protected
PositionVector
getPosition
()
{
...
...
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