Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse GEF
3.3

org.eclipse.gef
Interface TreeEditPart

All Superinterfaces:
EditPart
All Known Implementing Classes:
AbstractTreeEditPart, RootTreeEditPart

public interface TreeEditPart
extends EditPart

A Specialization of EditPart for use with TreeViewer. The visualpart of a TreeEditPart is a TreeItem.

IMPORTANT: This interface is not intended to be implemented by clients. Clients should inherit from AbstractGraphicalEditPart. New methods may be added in the future.


Field Summary
 
Fields inherited from interface org.eclipse.gef. EditPart
SELECTED, SELECTED_NONE, SELECTED_PRIMARY
 
Method Summary
 Widget getWidget ()
          Returns either a Tree or TreeItem.
 void setWidget (Widget widget)
          Set's the EditPart's widget.
 
Methods inherited from interface org.eclipse.gef. EditPart
activate, addEditPartListener, addNotify, deactivate, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getDragTracker, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, refresh, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest
 

Method Detail

getWidget

public Widget getWidget()
Returns either a Tree or TreeItem.

Returns:
the Widget

setWidget

public void setWidget(Widget widget)
Set's the EditPart's widget. Because SWT TreeItem and Tree cannot be created without a parent, a TreeEditPart must rely on its parent providing its Widget.

Parameters:
widget - the Widget

Eclipse GEF
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire