|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Title: interface TCImport
Description: via TCImport it is possible to modify the structure and data of the TC schema
Copyright: Copyright (c) 2003
Company: CMC Computers
| Method Summary | |
void |
addFilter(FilterContainer fc,
Filter f)
Adds the filter to the FilterContainer |
void |
addFilterElement(Filter f,
FilterElement fe)
Adds the filter element to the Filter |
void |
addTCObject(TCObject tco)
Adds TCObject to the schema |
void |
applyTCAttributes(TCObject tco,
Map map)
Applies attributes for given TCObject Keys are AttributeInstances or Strings, values are basic java objects as Float, Boolean, Integer, String, java.util.Set; the datadef object has key TCGraphConstants.DATADEFINITION |
void |
applyViewAttributes(TCObject tco,
Map map)
Applies given view attributes for given TCObject Keys are strings, values are basic java objects as Float, Boolean, Integer, String, java.awt.Rectangle, java.awt.Point |
void |
attachQDisc(Class c,
QDisc qd)
Attaches the given QDisc to the given class. |
void |
attachSubclass(SubclassableTCObject stco,
Class c)
Attaches the given subclass to the given SubclassableTCObject. |
void |
clearSchema()
Empties the whole schema |
void |
connectFilterMatch(FilterElement fe,
Class c)
Connects filter element to the matching class Throws exception if the Class is not a subclass of the ClassfulQDisc owning the FilterElement. |
void |
detachAllSubclasses(SubclassableTCObject stco)
Dettaches all subclasses of the given SubclassableTCObject. |
void |
detachFilter(Filter f)
Removes the Filter from its FilterContainer |
void |
detachFilterElement(FilterElement fe)
Removes the FilterElement from its Filter |
void |
detachQDisc(Class c)
Detaches the QDisc attached to the given Class. |
void |
detachQDisc(QDisc qd)
Detaches the given QDisc from the Class it is attached on. |
void |
detachSubclass(Class c)
Detaches the given class from its parent SubclassableTCObject. |
void |
disconnectFilterMatch(FilterElement fe)
Disconnects the FilterElement from the matching Class counterpart |
void |
disconnectFilterMatches(Class c)
Disconnects the Class from matching FilterElements. |
UndoableEditSupport |
getUndoableEditSupport()
|
void |
insertFilterAt(FilterContainer fc,
Filter f,
int index)
Inserts the filter into the FilterContainer onto the given position |
void |
insertFilterElementAt(Filter f,
FilterElement fe,
int index)
Inserts the filter element into the Filter onto the given position |
void |
removeTCAttributes(TCObject tco)
Removes all TC attributes from the given TCObject |
void |
removeTCAttributes(TCObject tco,
Object[] keys)
Remove TC attributes from the given TCObject |
void |
removeTCObject(TCObject tco)
Removes TCObject from the schema |
void |
removeViewAttributes(TCObject tco)
Removes all view attributes from the given TCObject |
void |
removeViewAttributes(TCObject tco,
Object[] keys)
Remove view attributes from the given TCObject |
void |
setDevice(String device)
Sets the device name |
void |
setTCObjectID(TCObject tco,
int id)
Sets id of the TCObject. |
| Method Detail |
public UndoableEditSupport getUndoableEditSupport()
public void setDevice(String device)
device - device name to be setpublic void addTCObject(TCObject tco)
public void removeTCObject(TCObject tco)
public void setTCObjectID(TCObject tco,
int id)
public void clearSchema()
public void applyTCAttributes(TCObject tco,
Map map)
tco - TCObject to be attributes applied tomap - attributes to be applied
public void removeTCAttributes(TCObject tco,
Object[] keys)
keys - keys of attributes to be removedpublic void removeTCAttributes(TCObject tco)
public void applyViewAttributes(TCObject tco,
Map map)
tco - TCObject to be attributes applied tomap - attributes to be applied
public void removeViewAttributes(TCObject tco,
Object[] keys)
keys - keys of attributes to be removedpublic void removeViewAttributes(TCObject tco)
public void attachSubclass(SubclassableTCObject stco,
Class c)
stco - Class or ClassfulQDisc to attach class onc - Class to be attachedpublic void detachSubclass(Class c)
c - Class to be dettachedpublic void detachAllSubclasses(SubclassableTCObject stco)
stco - Class or ClassfulQDisc to detach class from
public void attachQDisc(Class c,
QDisc qd)
c - class to attach the QDisc onqd - QDisc to attachpublic void detachQDisc(Class c)
c - Class whose QDisc is to be detachedpublic void detachQDisc(QDisc qd)
qd - QDisc to detach
public void addFilter(FilterContainer fc,
Filter f)
fc - FilterContainer to add filter tof - Filter to add
public void insertFilterAt(FilterContainer fc,
Filter f,
int index)
fc - FilterContainer to add filter tof - Filter to addindex - position to insert the filter atpublic void detachFilter(Filter f)
f - filter to detach
public void addFilterElement(Filter f,
FilterElement fe)
f - Filter to add the element tofe - FilterElement to add
public void insertFilterElementAt(Filter f,
FilterElement fe,
int index)
f - Filter to add the element tofe - Filter to addindex - position to insert the filter element atpublic void detachFilterElement(FilterElement fe)
public void connectFilterMatch(FilterElement fe,
Class c)
fe - matched FilterElementc - matching Class
InvalidConnectionExceptionpublic void disconnectFilterMatch(FilterElement fe)
fe - FilterElement to be disconnectedpublic void disconnectFilterMatches(Class c)
c - Class to be disconnected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||