public class OntologyEditor extends net.idea.modbcum.p.AbstractDBProcessor<Object,Dictionary> implements IAmbitEditor<QueryOntology>
Modifier and Type | Field and Description |
---|---|
protected List<JButton> |
buttons |
protected JComponent |
component |
protected ImageIcon |
folderIcon |
protected ListEditor[] |
listEditor |
protected ProcessorOntology |
processor |
protected QueryOntology[] |
query |
protected AmbitRows<Property>[] |
rows |
Constructor and Description |
---|
OntologyEditor() |
Modifier and Type | Method and Description |
---|---|
protected JComponent |
buildPanel(String help) |
boolean |
confirm() |
JComponent |
getJComponent() |
QueryOntology |
getObject() |
boolean |
isEditable() |
void |
open() |
Dictionary |
process(Object target) |
void |
setConnection(Connection connection)
query[side.ordinal()].setValue(((Dictionary)selected).getTemplate());
rows[side.ordinal()].setQuery(query[side.ordinal()]);
|
void |
setEditable(boolean editable) |
void |
setObject(QueryOntology object) |
close, getConnection, isCloseConnection, isEnabled, setCloseConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected ProcessorOntology processor
protected QueryOntology[] query
protected ListEditor[] listEditor
protected ImageIcon folderIcon
protected JComponent component
public void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection
in interface net.idea.modbcum.i.IDBProcessor<Object,Dictionary>
setConnection
in class net.idea.modbcum.p.AbstractDBProcessor<Object,Dictionary>
net.idea.modbcum.i.exceptions.DbAmbitException
public boolean confirm()
confirm
in interface IAmbitEditor<QueryOntology>
public JComponent getJComponent()
getJComponent
in interface IAmbitEditor<QueryOntology>
protected JComponent buildPanel(String help)
public Dictionary process(Object target) throws net.idea.modbcum.i.exceptions.AmbitException
process
in interface net.idea.modbcum.i.processors.IProcessor<Object,Dictionary>
net.idea.modbcum.i.exceptions.AmbitException
public boolean isEditable()
isEditable
in interface IAmbitEditor<QueryOntology>
public void setEditable(boolean editable)
setEditable
in interface IAmbitEditor<QueryOntology>
public void setObject(QueryOntology object)
setObject
in interface IAmbitEditor<QueryOntology>
public QueryOntology getObject()
getObject
in interface IAmbitEditor<QueryOntology>
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<Object,Dictionary>
open
in class net.idea.modbcum.p.DefaultAmbitProcessor<Object,Dictionary>
net.idea.modbcum.i.exceptions.DbAmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.