Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
af3
kernel
Commits
054e8db8
Commit
054e8db8
authored
7 years ago
by
Alexander Diewald
Browse files
Options
Downloads
Patches
Plain Diff
- YELLOW
- Missed a TODO: Removed internalToScreenDimension (not used anywhere). refs 2983
parent
54460123
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/ZoomUIUtils.java
+1
-14
1 addition, 14 deletions
...nk/src/org/fortiss/tooling/base/ui/utils/ZoomUIUtils.java
with
1 addition
and
14 deletions
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/ZoomUIUtils.java
+
1
−
14
View file @
054e8db8
...
...
@@ -37,7 +37,7 @@ import org.fortiss.tooling.base.utils.ZoomUtils;
* @author hummel
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash:
C039A18E383BB6EEF05185DB450142CA
* @ConQAT.Rating YELLOW Hash:
2358256F0E19D26CB8F26D56B1681CC0
*/
public
class
ZoomUIUtils
{
...
...
@@ -120,17 +120,4 @@ public class ZoomUIUtils {
dim
.
setSize
(
modelDim
.
getWidth
(),
modelDim
.
getHeight
());
return
dim
;
}
/**
* Converts a point expressed in internal coordinates, into a point in screen coordinates,
* taking the zoom into account.
*/
// TODO(VA) This method is not used -> remove?
public
static
Dimension
internalToScreenDimension
(
Dimension
dim
,
double
zoom
)
{
org
.
fortiss
.
tooling
.
base
.
model
.
layout
.
Dimension
modelDim
=
createDimension
(
dim
.
width
(),
dim
.
height
(),
dim
.
toString
());
modelDim
=
ZoomUtils
.
internalToScreenDimension
(
modelDim
,
zoom
);
dim
.
setSize
(
modelDim
.
getWidth
(),
modelDim
.
getHeight
());
return
dim
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment