Commit 2f184e0a authored by Matija Obreza's avatar Matija Obreza
Browse files

Repaint table view if RDF term changes

parent b646529b
...@@ -57,6 +57,7 @@ import org.eclipse.swt.events.ControlAdapter; ...@@ -57,6 +57,7 @@ import org.eclipse.swt.events.ControlAdapter;
import org.eclipse.swt.events.ControlEvent; import org.eclipse.swt.events.ControlEvent;
import org.eclipse.swt.events.DisposeEvent; import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener; import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Color;
...@@ -340,6 +341,9 @@ public class SheetDisplay extends Composite { ...@@ -340,6 +341,9 @@ public class SheetDisplay extends Composite {
txtRdfTerm = new Text(composite, SWT.BORDER); txtRdfTerm = new Text(composite, SWT.BORDER);
txtRdfTerm.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1)); txtRdfTerm.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1));
txtRdfTerm.addModifyListener((ModifyEvent e) -> {
refreshTableView();
});
Label lblRegexpPattern = new Label(composite, SWT.RIGHT); Label lblRegexpPattern = new Label(composite, SWT.RIGHT);
lblRegexpPattern.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1)); lblRegexpPattern.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
......
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