ch.marlovits.plz
Class PLZView
java.lang.Object
ViewPart
ch.marlovits.plz.PLZView
- All Implemented Interfaces:
- GlobalEventDispatcher.IActivationListener
public class PLZView
- extends ViewPart
- implements GlobalEventDispatcher.IActivationListener
Field Summary |
static java.lang.String |
ID
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
PLZView
public PLZView()
createPartControl
public void createPartControl(Composite parent)
setFocus
public void setFocus()
- Passing the focus request to the viewer's control.
dispose
public void dispose()
selectionEvent
public void selectionEvent(PersistentObject obj)
clearEvent
public void clearEvent(java.lang.Class template)
activation
public void activation(boolean mode)
- Specified by:
activation
in interface GlobalEventDispatcher.IActivationListener
visible
public void visible(boolean mode)
- Specified by:
visible
in interface GlobalEventDispatcher.IActivationListener
promptToSaveOnClose
public int promptToSaveOnClose()
doSave
public void doSave(IProgressMonitor monitor)
doSaveAs
public void doSaveAs()
isDirty
public boolean isDirty()
isSaveAsAllowed
public boolean isSaveAsAllowed()
isSaveOnCloseNeeded
public boolean isSaveOnCloseNeeded()
testingAction
public void testingAction()
doImport
public void doImport()
readHTMLPage
public static java.lang.String readHTMLPage(java.lang.String url)
throws java.io.IOException,
java.net.MalformedURLException
- Liest Inhalt einer ganzen Seite einer übergebenen URL
- Parameters:
url
- : die einzulesende URL
- Returns:
- die ganze HTML-Seite als String
- Throws:
java.io.IOException
java.net.MalformedURLException
fullTrim
public static java.lang.String fullTrim(java.lang.String source)
- entfernen von: leading spaces, trailing spaces und mehrfach-Spaces im String
- Parameters:
source
- : zu bearbeitender String
- Returns:
- gestrippter String
Copyright 2005-2011 by Gerry Weirich, Elexis