Kaydet (Commit) 0ee638e5 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS scriptingf4 (1.2.4); FILE MERGED

2004/04/29 14:09:23 dfoster 1.2.4.1: #i28384# - implement Macro Selector specification
Issue number:
Submitted by:
Reviewed by:
üst 7087700e
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: ScriptEntry.java,v $ * $RCSfile: ScriptEntry.java,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: svesik $ $Date: 2004-04-19 23:06:37 $ * last change: $Author: rt $ $Date: 2004-05-19 08:22:10 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -68,7 +68,10 @@ public class ScriptEntry implements Cloneable { ...@@ -68,7 +68,10 @@ public class ScriptEntry implements Cloneable {
private String languagename; private String languagename;
private String location; private String location;
private String logicalname = ""; private String logicalname = "";
private String description = "";
private Map languagedepprops; private Map languagedepprops;
public ScriptEntry(String language, String languagename, public ScriptEntry(String language, String languagename,
String logicalname, String location) { String logicalname, String location) {
this.language = language; this.language = language;
...@@ -82,12 +85,30 @@ public class ScriptEntry implements Cloneable { ...@@ -82,12 +85,30 @@ public class ScriptEntry implements Cloneable {
this.languagedepprops = new HashMap(); this.languagedepprops = new HashMap();
} }
public ScriptEntry(ScriptEntry entry)
{
this.language = entry.language;
this.languagename = entry.languagename;
this.logicalname = entry.languagename;
this.location = entry.location;
this.languagedepprops = entry.languagedepprops;
this.description = entry.description;
}
public ScriptEntry(String language, String languagename, public ScriptEntry(String language, String languagename,
String logicalname, String location, Map languagedepprops) { String logicalname, String location, Map languagedepprops) {
this( language, languagename, logicalname, location ); this( language, languagename, logicalname, location );
this.languagedepprops = languagedepprops; this.languagedepprops = languagedepprops;
} }
public ScriptEntry(String language, String languagename,
String logicalname, String location,
Map languagedepprops, String description) {
this( language, languagename, logicalname, location );
this.languagedepprops = languagedepprops;
this.description = description;
}
public ScriptEntry(String languagename, String location) { public ScriptEntry(String languagename, String location) {
this("Java", languagename, languagename, location); this("Java", languagename, languagename, location);
} }
...@@ -131,6 +152,10 @@ public class ScriptEntry implements Cloneable { ...@@ -131,6 +152,10 @@ public class ScriptEntry implements Cloneable {
return location; return location;
} }
public String getDescription() {
return description;
}
public String toString() { public String toString() {
return "\nLogicalName = " + logicalname + "\nLanguageName = " + languagename + "\nLocation = " + location + "\nLanguaguageProperties = " + languagedepprops; return "\nLogicalName = " + logicalname + "\nLanguageName = " + languagename + "\nLocation = " + location + "\nLanguaguageProperties = " + languagedepprops;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment