Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
mbe-tools
TTool
Commits
3841e6ed
Commit
3841e6ed
authored
6 years ago
by
Irina LEE
Browse files
Options
Downloads
Patches
Plain Diff
changed connecting point in eln
parent
7f423066
No related branches found
No related tags found
1 merge request
!72
Syscams
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/ui/TGConnectingPointWidthHeight.java
+9
-0
9 additions, 0 deletions
src/main/java/ui/TGConnectingPointWidthHeight.java
src/main/java/ui/eln/ELNConnectingPoint.java
+20
-10
20 additions, 10 deletions
src/main/java/ui/eln/ELNConnectingPoint.java
with
29 additions
and
10 deletions
src/main/java/ui/TGConnectingPointWidthHeight.java
+
9
−
0
View file @
3841e6ed
...
...
@@ -75,4 +75,13 @@ public class TGConnectingPointWidthHeight extends TGConnectingPoint{
public
void
setH
(
double
_h
)
{
h
=
_h
;
}
public
double
getW
()
{
return
w
;
}
public
double
getH
()
{
return
h
;
}
}
// Class
This diff is collapsed.
Click to expand it.
src/main/java/ui/eln/ELNConnectingPoint.java
+
20
−
10
View file @
3841e6ed
...
...
@@ -50,14 +50,24 @@ import ui.TGConnectingPointWidthHeight;
* @author Irina Kit Yan LEE
*/
public
class
ELNConnectingPoint
extends
TGConnectingPointWidthHeight
{
public
class
ELNConnectingPoint
extends
TGConnectingPointWidthHeight
{
public
boolean
positionned
;
public
ELNConnectingPoint
(
CDElement
_container
,
int
_x
,
int
_y
,
boolean
_in
,
boolean
_out
,
double
_w
,
double
_h
)
{
super
(
_container
,
_x
,
_y
,
_in
,
_out
,
_w
,
_h
);
}
public
boolean
isCompatibleWith
(
int
type
)
{
return
type
==
TGComponentManager
.
ELN_CONNECTOR
;
}
}
\ No newline at end of file
private
String
name
;
public
ELNConnectingPoint
(
CDElement
_container
,
int
_x
,
int
_y
,
boolean
_in
,
boolean
_out
,
double
_w
,
double
_h
,
String
_name
)
{
super
(
_container
,
_x
,
_y
,
_in
,
_out
,
_w
,
_h
);
name
=
_name
;
}
public
boolean
isCompatibleWith
(
int
type
)
{
return
type
==
TGComponentManager
.
ELN_CONNECTOR
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
}
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