Salome HOME
Actions menu properties are refactored, unnecessary code is removed.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / admin / ProjectElementFacade.java
index e03b78b006a1752fef441aedc651bbd7f417a2dd..0bde2f768aab02d880e5c3f6cc1cb9b5f2244e3d 100644 (file)
@@ -18,14 +18,12 @@ public class ProjectElementFacade {
 //  ==============================================================================================================================
 
     public ProjectElementFacade (final Study represented, final ProjectSettingsService.Step at) {
-//  ------------------------------------------------------------------------
       _index    = represented.getIndex();         // The index of scenarios AND studies are unique
       _my       = represented;
       _subtitle = "";
       _step     = "0." + at.getNumber();
     }
     public ProjectElementFacade (final Scenario represented, final ProjectSettingsService.Step at) {
-//  ---------------------------------------------------------------------------
       _index    = represented.getIndex();         // The index of scenarios AND studies are unique
       _my       = represented.getOwnerStudy();
       _subtitle = ", " + represented.getTitle();
@@ -38,12 +36,10 @@ public class ProjectElementFacade {
 
     @Override
        public boolean equals (final Object other) {
-//  ------------------------------------
       return (this.hashCode() == other.hashCode());
     }
     @Override
        public int hashCode () {
-//  ----------------------
       return  (int) _index;
     }
 
@@ -52,27 +48,21 @@ public class ProjectElementFacade {
 //  ==============================================================================================================================
 
     public String getAuthorName () {
-//  ------------------------------
       return  _my.getAuthor().getDisplayName();
     }
     public ProgressState getProgressState () {
-//  ----------------------------------------
       return  _my.getProgressState();
     }
     public String getReference () {
-//  -----------------------------
       return  _my.getReference();
     }
     public String getSelection () {
-//  -----------------------------
       return _step;
     }
     public String getStudyIndex () {
-//  ------------------------------
       return  String.valueOf(_my.getIndex());
     }
     public String getTitle () {
-//  -------------------------
       return  _my.getTitle() + _subtitle;
     }
 }
\ No newline at end of file