|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.frag.umlplugin.graphio.SaveDialog
public class SaveDialog
Dialog for selecting save format and target file.
Constructor Summary | |
---|---|
SaveDialog(com.intellij.openapi.project.Project project,
java.lang.String title,
java.lang.String browseLabel,
java.lang.String browseDetails,
java.lang.String pathKey,
FileType... fileTypes)
Shows current element under cursor or mouse in graphical navigator. |
Method Summary | |
---|---|
void |
close()
Closes this dialog. |
FileType |
getFileType()
Gets selected file type. |
java.lang.String |
getPath()
Gets selected target save path. |
int |
getThumbnailHeight()
Gets thumbnail height to use for thumbnail images. |
boolean |
saveThumbnail()
Checks whether a thumbnail image should be saved. |
void |
show(java.lang.Runnable saveAction)
Shows dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SaveDialog(@NotNull com.intellij.openapi.project.Project project, @NotNull java.lang.String title, @NotNull java.lang.String browseLabel, @NotNull java.lang.String browseDetails, @NotNull java.lang.String pathKey, @NotNull FileType... fileTypes)
project
- current projecttitle
- dialog titlebrowseLabel
- label for path browse buttonbrowseDetails
- details for path browse button and fieldpathKey
- key for storing selected base path, so when user opens dialog next time, the selected
path is already inserted as base pathfileTypes
- file types to choose fromMethod Detail |
---|
public void show(@NotNull java.lang.Runnable saveAction)
saveAction
- runnable to execute if user selected save-buttonpublic void close()
@NotNull public java.lang.String getPath()
@NotNull public FileType getFileType()
public boolean saveThumbnail()
public int getThumbnailHeight()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |