Revision 25 org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.lib/org.gvsig.vectorediting.lib.spi/src/main/java/org/gvsig/vectorediting/lib/spi/DefaultEditingServiceParameter.java
DefaultEditingServiceParameter.java | ||
---|---|---|
15 | 15 |
private String description; |
16 | 16 |
|
17 | 17 |
private int type; |
18 |
|
|
19 |
private String consoleMessage; |
|
18 | 20 |
|
19 |
public DefaultEditingServiceParameter(String name, String desciption, int type) { |
|
21 |
public DefaultEditingServiceParameter(String name, String desciption, int type, String consoleMessage) {
|
|
20 | 22 |
this.name = name; |
21 | 23 |
this.description = desciption; |
22 | 24 |
this.type = type; //TODO Check type |
25 |
this.consoleMessage = consoleMessage; |
|
23 | 26 |
} |
24 | 27 |
|
25 | 28 |
public int getType() { |
26 |
// TODO Auto-generated method stub |
|
27 | 29 |
return type; |
28 | 30 |
} |
29 | 31 |
|
30 | 32 |
public String getName() { |
31 |
// TODO Auto-generated method stub |
|
32 | 33 |
return name; |
33 | 34 |
} |
34 | 35 |
|
35 | 36 |
public String getDescription() { |
36 |
// TODO Auto-generated method stub |
|
37 | 37 |
return description; |
38 | 38 |
} |
39 | 39 |
|
... | ... | |
42 | 42 |
return false; |
43 | 43 |
} |
44 | 44 |
|
45 |
public String getConsoleMessage() { |
|
46 |
return this.consoleMessage; |
|
47 |
} |
|
48 |
|
|
45 | 49 |
} |
Also available in: Unified diff