public class PovclipseImageView
extends ViewPart
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID_VIEW
The view ID:
org.povclipse2.image.view |
Constructor and Description |
---|
PovclipseImageView()
Construtor
|
Modifier and Type | Method and Description |
---|---|
void |
clearImage()
Clears any image beeing displayed.
|
void |
createPartControl(Composite parent) |
static PovclipseImageView |
getInstance() |
void |
loadImage(java.lang.String filename)
Loads an image from file.
|
void |
mouseDoubleClick(MouseEvent e) |
void |
mouseDown(MouseEvent e) |
void |
mouseMove(MouseEvent e) |
void |
mouseUp(MouseEvent e) |
void |
setFocus() |
void |
showErrorImage(java.lang.String msg)
Loads the error image from file and displays en error message.
|
public static final java.lang.String ID_VIEW
org.povclipse2.image.view
public static PovclipseImageView getInstance() throws PartInitException
PovclipseImageView
.PartInitException
- If the view can not be created.public void createPartControl(Composite parent)
public void setFocus()
public void loadImage(java.lang.String filename)
filename
- The full image name including the path.public void showErrorImage(java.lang.String msg)
msg
- The error message to be displayedpublic void clearImage()
public void mouseMove(MouseEvent e)
public void mouseDoubleClick(MouseEvent e)
public void mouseDown(MouseEvent e)
public void mouseUp(MouseEvent e)