public class JcrComposite
extends org.eclipse.swt.widgets.Composite
Constructor and Description |
---|
JcrComposite(org.eclipse.swt.widgets.Composite parent,
int style)
Regular composite constructor.
|
JcrComposite(org.eclipse.swt.widgets.Composite parent,
int style,
Item item) |
JcrComposite(org.eclipse.swt.widgets.Composite parent,
int style,
Item item,
boolean cacheImmediately) |
Modifier and Type | Method and Description |
---|---|
Node |
getNode() |
java.lang.String |
getNodeId() |
Property |
getProperty() |
Session |
getSession() |
java.lang.Boolean |
itemIsNode() |
protected void |
itemUpdated() |
void |
setNode(Node node)
Set/update the cache or change the node
|
void |
setNodeId(java.lang.String nodeId)
Change the node, does nothing if same.
|
void |
setProperty(Property prop)
Set/update the cache or change the property
|
changed, computeSize, getAdapter, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addTouchListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getShell, getSize, getToolTipText, getTouchEnabled, getVisible, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCursor, setData, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setSize, setSize, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, update
addDisposeListener, addListener, checkSubclass, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, toString
public JcrComposite(org.eclipse.swt.widgets.Composite parent, int style)
public JcrComposite(org.eclipse.swt.widgets.Composite parent, int style, Item item) throws RepositoryException
RepositoryException
public JcrComposite(org.eclipse.swt.widgets.Composite parent, int style, Item item, boolean cacheImmediately) throws RepositoryException
RepositoryException
public Node getNode()
public Property getProperty()
public java.lang.Boolean itemIsNode()
public void setNode(Node node) throws RepositoryException
RepositoryException
public void setProperty(Property prop) throws RepositoryException
RepositoryException
public java.lang.String getNodeId()
public void setNodeId(java.lang.String nodeId) throws RepositoryException
RepositoryException
protected void itemUpdated()
public Session getSession()
Copyright © 2007–2020. All rights reserved.