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
c4f63ae7
Commit
c4f63ae7
authored
13 years ago
by
Daniel Ratiu
Browse files
Options
Downloads
Patches
Plain Diff
small review and cleaning
refs 311
parent
283559d6
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/editpart/GraphicalEditPartBase.java
+8
-1
8 additions, 1 deletion
...rtiss/tooling/base/ui/editpart/GraphicalEditPartBase.java
with
8 additions
and
1 deletion
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/editpart/GraphicalEditPartBase.java
+
8
−
1
View file @
c4f63ae7
...
...
@@ -35,7 +35,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating
YELLOW
Hash:
87A0587A5F17E72695DD8EEB81FFC058
* @ConQAT.Rating
RED
Hash:
CA53248F9D8F606B1BDCF0D7878F9834
*/
public
abstract
class
GraphicalEditPartBase
<
T
extends
EObject
>
extends
AbstractGraphicalEditPart
{
...
...
@@ -55,6 +55,7 @@ public abstract class GraphicalEditPartBase<T extends EObject> extends
}
};
// TODO this field should be removed since it is duplication from EditPart
/** The underlying model object. */
protected
final
T
modelElement
;
...
...
@@ -100,4 +101,10 @@ public abstract class GraphicalEditPartBase<T extends EObject> extends
}
return
super
.
getAdapter
(
key
);
}
/** @see org.eclipse.gef.editparts.AbstractEditPart#getModel() */
@Override
public
T
getModel
()
{
return
modelElement
;
}
}
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