Last change
on this file since 38 was
37,
checked in by zeiss, 14 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
582 bytes
|
Line | |
---|
1 | package de.ugoe.cs.swe.bnftools.ui.formatter;
|
---|
2 |
|
---|
3 | public class MetaTextEntry {
|
---|
4 | private String text;
|
---|
5 | private int offset;
|
---|
6 |
|
---|
7 | public MetaTextEntry(String text, int offset) {
|
---|
8 | this.text = text;
|
---|
9 | this.offset = offset;
|
---|
10 | }
|
---|
11 |
|
---|
12 | public String getText() {
|
---|
13 | return text;
|
---|
14 | }
|
---|
15 |
|
---|
16 | public void setText(String text) {
|
---|
17 | this.text = text;
|
---|
18 | }
|
---|
19 |
|
---|
20 | public int getOffset() {
|
---|
21 | return offset;
|
---|
22 | }
|
---|
23 |
|
---|
24 | public void setOffset(int offset) {
|
---|
25 | this.offset = offset;
|
---|
26 | }
|
---|
27 |
|
---|
28 | @Override
|
---|
29 | public String toString() {
|
---|
30 | return "MetaTextEntry [text=" + text + ", offset=" + offset + "]";
|
---|
31 | }
|
---|
32 |
|
---|
33 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.