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
685c3d58
Commit
685c3d58
authored
8 years ago
by
Vincent Aravantinos
Browse files
Options
Downloads
Patches
Plain Diff
documentation
refs 2444
parent
e0a91683
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.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/extension/base/EReferencePropertySectionBase.java
+14
-2
14 additions, 2 deletions
...rnel/ui/extension/base/EReferencePropertySectionBase.java
with
14 additions
and
2 deletions
org.fortiss.tooling.kernel.ui/trunk/src/org/fortiss/tooling/kernel/ui/extension/base/EReferencePropertySectionBase.java
+
14
−
2
View file @
685c3d58
...
...
@@ -42,19 +42,26 @@ import org.fortiss.tooling.kernel.service.IPersistencyService;
* Base class for a property section that allows to set an {@link EReference} using a
* {@link ComboViewer}.
*
* <code>I</code> is the type of the object from which you read/write the reference. Typically the
* container of the reference (not of the referenced object but of the reference itself!)
*
* <code>R</code> is the type of the object being referred to.
*
* @author aravantinos, barner
* @author $Author$
* @version $Rev$
* @ConQAT.Rating
GREEN
Hash:
59A3537CB5D94CE7FC8331799937DFF7
* @ConQAT.Rating
YELLOW
Hash:
063F1F9F6C9BD7956CE1021A16072DEB
*/
public
abstract
class
EReferencePropertySectionBase
<
I
extends
EObject
,
R
extends
EObject
>
extends
PropertySectionBase
{
/** Combo for component references. */
private
ComboViewer
modelReferenceCombo
;
/** {@link ComboViewer} label. */
private
final
String
modelReferenceComboLabel
;
/**
* Flag to know whether the selection is made by the class or by the user.
* Needed because a "selected" event is triggered in all cases and we do not want to register
...
...
@@ -72,7 +79,12 @@ public abstract class EReferencePropertySectionBase<I extends EObject, R extends
/** The edited object (updated in {@link #setSectionInput(Object)}). */
private
I
input
=
null
;
/** Constructs a new {@link EReferencePropertySectionBase}. */
/**
* Constructs a new {@link EReferencePropertySectionBase}.
*
* @param modelReferenceComboLabel
* The label to be used in front of the combobox.
*/
public
EReferencePropertySectionBase
(
final
String
modelReferenceComboLabel
)
{
this
.
modelReferenceComboLabel
=
modelReferenceComboLabel
;
}
...
...
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