|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTitleAreaDialog
de.xoev.xdomea.viewer.gui.dialogs.PickWorkspaceDialog
public class PickWorkspaceDialog
Die Klasse repräsentiert einen Dialog der den Benutzer einen Arbeitsbereich auswählen lässt. Dieser Arbeitsbereich wird zur Speicherung aller Dateien und Einstellungen genutzt.
Field Summary | |
---|---|
static String |
WORKSPACE_ID
|
Constructor Summary | |
---|---|
PickWorkspaceDialog(boolean switchWorkspace)
erzeugt eine PickWorkspaceDialog-Instanz mit den gegebene Parametern |
|
PickWorkspaceDialog(boolean switchWorkspace,
Image wizardImage)
erzeugt eine PickWorkspaceDialog-Instanz mit den gegebene Parametern |
Method Summary | |
---|---|
static boolean |
checkAndCreateWorkspaceRoot(String workspacePath)
überprüft, ob das angegebene Arbeitsverzeichnis existiert und erstellt es ggf. |
static String |
checkWorkspaceDirectory(Shell parentShell,
String workspaceLocation,
boolean createIfNeeded,
boolean fromDialog)
Stellt sicher, dass Arbeitsverzeichnis OK ist. |
protected void |
configureShell(Shell newShell)
|
protected Control |
createDialogArea(Composite parent)
|
static String |
getLastSetWorkspaceDirectory()
|
String |
getSelectedWorkspaceLocation()
|
static boolean |
isRememberWorkspace()
|
protected void |
okPressed()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String WORKSPACE_ID
Constructor Detail |
---|
public PickWorkspaceDialog(boolean switchWorkspace, Image wizardImage)
switchWorkspace
- soll der Dialog im Modus 'Arbeitsbereich wechseln' laufenwizardImage
- das Bild, dass angezeigt werden sollpublic PickWorkspaceDialog(boolean switchWorkspace)
switchWorkspace
- soll der Dialog im Modus 'Arbeitsbereich wechseln' laufenMethod Detail |
---|
protected void configureShell(Shell newShell)
public static boolean isRememberWorkspace()
public static String getLastSetWorkspaceDirectory()
protected Control createDialogArea(Composite parent)
public String getSelectedWorkspaceLocation()
protected void okPressed()
public static String checkWorkspaceDirectory(Shell parentShell, String workspaceLocation, boolean createIfNeeded, boolean fromDialog)
parentShell
- eine übergeordnete Shell-InstanzworkspaceLocation
- das ArbeitsverzeichniscreateIfNeeded
- soll ein nicht existierendes Arbeisverzeichnisses erstellt werdenfromDialog
- wurde die Methode durch einen Dialog ausgeführt?
public static boolean checkAndCreateWorkspaceRoot(String workspacePath)
workspacePath
- der Pfad zum Arbeitsverzeichnis
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |