Package | Description |
---|---|
org.eclipse.gef.cloudio.internal.ui |
This package provides a
Canvas dedicated to
visualizing word clouds (TagCloud ), as
well as a related ContentViewer (
TagCloudViewer ). |
org.eclipse.gef.cloudio.internal.ui.layout |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Word> |
TagCloud.getSelection()
Returns the set of selected elements.
|
java.util.List<Word> |
TagCloud.getWords() |
Modifier and Type | Method and Description |
---|---|
protected int |
TagCloud.layoutWords(java.util.Collection<Word> wordsToUse,
org.eclipse.core.runtime.IProgressMonitor monitor)
Generates the layout of the given words.
|
void |
TagCloud.setSelection(java.util.Set<Word> words)
Marks the set of elements as selected.
|
int |
TagCloud.setWords(java.util.List<Word> values,
org.eclipse.core.runtime.IProgressMonitor monitor)
Sets the given list as input of the tag cloud, replacing any previous
content.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Point |
ILayouter.getInitialOffset(Word word,
org.eclipse.swt.graphics.Rectangle cloudArea)
Calculates the initial offset of the given word, within the bounds of the
specified rectangle.
|
org.eclipse.swt.graphics.Point |
DefaultLayouter.getInitialOffset(Word word,
org.eclipse.swt.graphics.Rectangle cloudArea) |
boolean |
ILayouter.layout(org.eclipse.swt.graphics.Point initial,
Word word,
org.eclipse.swt.graphics.Rectangle cloudArea,
CloudMatrix cloudMatrix)
Places the given word within the defined rectangle, starting at the
initial position.
|
boolean |
DefaultLayouter.layout(org.eclipse.swt.graphics.Point offset,
Word word,
org.eclipse.swt.graphics.Rectangle cloudArea,
CloudMatrix mainTree)
Tries to position the given word in the given area.
|
Copyright (c) 2000, 2012 itemis AG and others. All rights reserved.