Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 92584 Details for
Bug 218765
Enhancing MarkerUtil class in validation framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Helper class for MarkerUtil
FileStatusListPair.java (text/plain), 991 bytes, created by
Damien Thivolle
on 2008-03-14 13:07:36 EDT
(
hide
)
Description:
Helper class for MarkerUtil
Filename:
MIME Type:
Creator:
Damien Thivolle
Created:
2008-03-14 13:07:36 EDT
Size:
991 bytes
patch
obsolete
>package org.eclipse.emf.validation.marker; > >import java.util.ArrayList; > >import org.eclipse.core.resources.IFile; >import org.eclipse.emf.validation.model.IConstraintStatus; > > >/** > * A helper class for pairing an {@link IFile} and an {@link ArrayList} > * of {@link IConstraintStatus}. > * > * This class is used by the {@link MarkerUtil} helper class. > * @author Damien Thivolle > * > */ > >public class FileStatusListPair { > private IFile file; > private ArrayList<IConstraintStatus> statusList; > > public FileStatusListPair() { > this.file = null; > this.statusList = new ArrayList<IConstraintStatus>(); > } > > public void setFile(IFile file) { > this.file = file; > } > > public void addStatus(IConstraintStatus status) { > this.statusList.add(status); > } > > public ArrayList<IConstraintStatus> getStatusList() { > return this.statusList; > } > > public Boolean includes(IConstraintStatus status) { > return this.statusList.contains(status); > } > > public IFile getFile() { > return this.file; > } >}; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
give.a.damus
:
iplog+
Actions:
View
Attachments on
bug 218765
:
92583
| 92584