Modifier and Type | Field and Description |
---|---|
protected List<LastUsedFile> |
lastUsedFiles |
protected Map<String,List<LastUsedFile>> |
lastUsedRepoFiles |
protected List<LastUsedFile> |
openTabFiles |
protected String |
overriddenFileName |
filename, log, pluginHistory, properties, props, STRING_ANTI_ALIASING, STRING_ARGUMENT_NAME_PREFIX, STRING_ASK_ABOUT_REPLACING_DATABASES, STRING_AUTO_COLLAPSE_CORE_TREE, STRING_AUTO_SAVE, STRING_AUTO_SPLIT, STRING_BACKGROUND_COLOR_B, STRING_BACKGROUND_COLOR_G, STRING_BACKGROUND_COLOR_R, STRING_CUSTOM_PARAMETER, STRING_DEFAULT_PREVIEW_SIZE, STRING_DISABLE_INITIAL_EXECUTION_HISTORY, STRING_FONT_DEFAULT_NAME, STRING_FONT_DEFAULT_SIZE, STRING_FONT_DEFAULT_STYLE, STRING_FONT_FIXED_NAME, STRING_FONT_FIXED_SIZE, STRING_FONT_FIXED_STYLE, STRING_FONT_GRAPH_NAME, STRING_FONT_GRAPH_SIZE, STRING_FONT_GRAPH_STYLE, STRING_FONT_GRID_NAME, STRING_FONT_GRID_SIZE, STRING_FONT_GRID_STYLE, STRING_FONT_NOTE_NAME, STRING_FONT_NOTE_SIZE, STRING_FONT_NOTE_STYLE, STRING_GRAPH_COLOR_B, STRING_GRAPH_COLOR_G, STRING_GRAPH_COLOR_R, STRING_ICON_SIZE, STRING_INDICATE_SLOW_TRANS_STEPS, STRING_LAST_ARGUMENT, STRING_LAST_PREVIEW_SIZE, STRING_LAST_PREVIEW_STEP, STRING_LAST_PREVIEW_TRANS, STRING_LAST_REPOSITORY, STRING_LAST_REPOSITORY_LOGIN, STRING_LINE_WIDTH, STRING_LOG_FILTER, STRING_LOG_LEVEL, STRING_MAX_UNDO, STRING_MIDDLE_PCT, STRING_ONLY_ACTIVE_STEPS, STRING_ONLY_USED_DB_TO_XML, STRING_OPEN_LAST_FILE, STRING_PLUGIN_HISTORY, STRING_RECENT_SEARCHES, STRING_REPLACE_DATABASES, STRING_SASH_W1, STRING_SASH_W2, STRING_SAVE_CONF, STRING_SHADOW_SIZE, STRING_SHOW_CANVAS_GRID, STRING_SHOW_EXIT_WARNING, STRING_SHOW_NEW_SUBTRANS_POPUP, STRING_SHOW_OS_LOOK, STRING_SIZE_H, STRING_SIZE_MAX, STRING_SIZE_W, STRING_SIZE_X, STRING_SIZE_Y, STRING_START_SHOW_REPOSITORIES, STRING_SVG_ENABLED, STRING_TAB_COLOR_B, STRING_TAB_COLOR_G, STRING_TAB_COLOR_R, STRING_USE_DB_CACHE, type, TYPE_PROPERTIES_CHEF, TYPE_PROPERTIES_EMPTY, TYPE_PROPERTIES_KITCHEN, TYPE_PROPERTIES_MENU, TYPE_PROPERTIES_PAN, TYPE_PROPERTIES_PLATE, TYPE_PROPERTIES_SPOON, WIDGET_STYLE_DEFAULT, WIDGET_STYLE_FIXED, WIDGET_STYLE_GRAPH, WIDGET_STYLE_NOTEPAD, WIDGET_STYLE_TAB, WIDGET_STYLE_TABLE, WIDGET_STYLE_TOOLBAR
Modifier and Type | Method and Description |
---|---|
void |
addLastFile(String fileType,
String filename,
String directory,
boolean sourceRepository,
String repositoryName)
Add a last opened file to the top of the recently used list.
|
void |
addLastFile(String fileType,
String filename,
String directory,
boolean sourceRepository,
String repositoryName,
String username,
Date lastOpened,
String connection)
Add a last opened file to the top of the recently used list.
|
void |
addOpenTabFile(String fileType,
String filename,
String directory,
boolean sourceRepository,
String repositoryName,
int openTypes)
Add a last opened file to the top of the recently used list.
|
void |
addOpenTabFile(String fileType,
String filename,
String directory,
boolean sourceRepository,
String repositoryName,
int openTypes,
String connection) |
static Point |
calculateGridPosition(Point p) |
boolean |
getAutoCollapseCoreObjectsTree() |
boolean |
getAutoSave() |
boolean |
getAutoSplit() |
org.eclipse.swt.graphics.RGB |
getBackgroundRGB() |
int |
getCanvasGridSize() |
org.eclipse.swt.graphics.FontData |
getDefaultFont() |
org.eclipse.swt.graphics.FontData |
getDefaultFontData() |
int |
getDefaultPreviewSize() |
int |
getDialogStyle(String styleProperty) |
static org.eclipse.swt.widgets.Display |
getDisplay() |
String |
getFilename() |
org.eclipse.swt.graphics.FontData |
getFixedFont() |
org.eclipse.swt.graphics.RGB |
getGraphColorRGB() |
org.eclipse.swt.graphics.FontData |
getGraphFont() |
org.eclipse.swt.graphics.FontData |
getGridFont() |
int |
getIconSize() |
static PropsUI |
getInstance() |
int |
getJobsDialogStyle() |
String[] |
getLastDirs() |
String[] |
getLastFiles() |
String[] |
getLastFileTypes() |
String[] |
getLastPreview() |
int[] |
getLastPreviewSize() |
String[] |
getLastRepositories() |
String |
getLastTrans() |
boolean[] |
getLastTypes() |
List<LastUsedFile> |
getLastUsedFiles() |
Map<String,List<LastUsedFile>> |
getLastUsedRepoFiles() |
int |
getLineWidth() |
int |
getMaxUndo() |
int |
getMiddlePct() |
org.eclipse.swt.graphics.FontData |
getNoteFont() |
List<LastUsedFile> |
getOpenTabFiles() |
String |
getRecentSearches() |
List<GUIOption<Object>> |
getRegisteredEditableComponents() |
int[] |
getSashWeights() |
boolean |
getSaveConfirmation() |
WindowProperty |
getScreen(String windowname) |
int |
getShadowSize() |
int |
getSupportedVersion(String property)
Gets the supported version of the requested software.
|
org.eclipse.swt.graphics.RGB |
getTabColorRGB() |
protected void |
init() |
static void |
init(org.eclipse.swt.widgets.Display d,
int t)
Initialize the properties: load from disk.
|
static void |
init(org.eclipse.swt.widgets.Display d,
String filename)
Initialize the properties: load from disk.
|
boolean |
isAntiAliasingEnabled() |
boolean |
isBrandingActive() |
boolean |
isBrowserEnvironmentCheckDisabled()
Ask if the browsing environment checks are disabled.
|
boolean |
isIndicateSlowTransStepsEnabled() |
static boolean |
isInitialized()
Check to see whether the Kettle properties where loaded.
|
boolean |
isLegacyPerspectiveMode() |
boolean |
isOnlyActiveFileShownInTree() |
boolean |
isOSLookShown() |
boolean |
isShowCanvasGridEnabled() |
boolean |
isShowingHelpToolTips() |
boolean |
isSVGEnabled() |
void |
loadLastUsedFiles() |
void |
loadLastUsedRepoFiles() |
void |
loadOpenTabFiles() |
void |
loadScreens() |
boolean |
openLastFile() |
void |
saveProps() |
void |
setAntiAliasingEnabled(boolean anti) |
void |
setAutoCollapseCoreObjectsTree(boolean autoCollapse) |
void |
setAutoSave(boolean autosave) |
void |
setAutoSplit(boolean autosplit) |
void |
setBackgroundRGB(org.eclipse.swt.graphics.RGB c) |
void |
setBrandingActive(boolean active) |
void |
setCanvasGridSize(int gridSize) |
void |
setDefault() |
void |
setDefaultFont(org.eclipse.swt.graphics.FontData fd) |
void |
setDefaultPreviewSize(int size) |
void |
setDialogSize(org.eclipse.swt.widgets.Shell shell,
String styleProperty) |
static void |
setDisplay(org.eclipse.swt.widgets.Display d) |
void |
setExitWarningShown(boolean show) |
void |
setFixedFont(org.eclipse.swt.graphics.FontData fd) |
static void |
setGCFont(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Device device,
org.eclipse.swt.graphics.FontData fontData) |
void |
setGraphColorRGB(org.eclipse.swt.graphics.RGB c) |
void |
setGraphFont(org.eclipse.swt.graphics.FontData fd) |
void |
setGridFont(org.eclipse.swt.graphics.FontData fd) |
void |
setIconSize(int size) |
void |
setIndicateSlowTransStepsEnabled(boolean indicate) |
void |
setLastFiles() |
void |
setLastPreview(String[] lastpreview,
int[] stepsize) |
void |
setLastTrans(String trans) |
void |
setLastUsedFiles(List<LastUsedFile> lastUsedFiles) |
void |
setLastUsedRepoFiles() |
void |
setLineWidth(int width) |
static void |
setLocation(GUIPositionInterface guiElement,
int x,
int y) |
void |
setLook(org.eclipse.swt.widgets.Control widget) |
void |
setLook(org.eclipse.swt.widgets.Control control,
int style) |
void |
setMaxUndo(int max) |
void |
setMiddlePct(int pct) |
void |
setNoteFont(org.eclipse.swt.graphics.FontData fd) |
void |
setOnlyActiveFileShownInTree(boolean show) |
void |
setOpenLastFile(boolean open) |
void |
setOpenTabFiles() |
void |
setOpenTabFiles(List<LastUsedFile> openTabFiles) |
void |
setOSLookShown(boolean show) |
void |
setRecentSearches(String recentSearches) |
void |
setRepositoriesDialogAtStartupShown(boolean show) |
void |
setSashWeights(int[] w) |
void |
setSaveConfirmation(boolean saveconf) |
void |
setScreen(WindowProperty winprop) |
void |
setShadowSize(int size) |
void |
setShowCanvasGridEnabled(boolean anti) |
void |
setShowCopyOrDistributeWarning(boolean show) |
void |
setShowingHelpToolTips(boolean show) |
void |
setShowToolTips(boolean show) |
void |
setShowWelcomePageOnStartup(boolean show) |
void |
setSVGEnabled(boolean svg) |
void |
setTabColorRGB(org.eclipse.swt.graphics.RGB c) |
static void |
setTableItemLook(org.eclipse.swt.widgets.TableItem item,
org.eclipse.swt.widgets.Display disp) |
boolean |
showCopyOrDistributeWarning() |
boolean |
showExitWarning() |
boolean |
showRepositoriesDialogAtStartup() |
boolean |
showToolTips() |
boolean |
showWelcomePageOnStartup() |
void |
storeScreens() |
addDefaultEntries, addPluginHistory, areOnlyUsedConnectionsSavedToXML, askAboutReplacingDatabaseConnections, clearCustomParameters, convertArguments, createLogChannel, disableInitialExecutionHistory, fileExists, getArgumentNumber, getCustomParameter, getLastArguments, getLastRepository, getLastRepositoryLogin, getLicenseFilename, getLinesInHistoryFetchSize, getLogFilter, getLogLevel, getMaxLogLineTimeoutMinutes, getMaxNrLinesInHistory, getMaxNrLinesInLog, getOnlyActiveSteps, getPluginHistory, getProperty, getType, increasePluginHistory, init, init, loadPluginHistory, loadProps, replaceExistingDatabaseConnections, reset, setAskAboutReplacingDatabaseConnections, setCustomParameter, setDisableInitialExecutionHistory, setLastArguments, setLastRepository, setLastRepositoryLogin, setLinesInHistoryFetchSize, setLogFilter, setLogLevel, setMaxLogLineTimeoutMinutes, setMaxNrLinesInHistory, setMaxNrLinesInLog, setOnlyActiveSteps, setOnlyUsedConnectionsSavedToXML, setProperty, setReplaceDatabaseConnections, setShowNewSubtransPopup, setType, setUseDBCache, showNewSubtransPopup, toString, useDBCache
protected List<LastUsedFile> lastUsedFiles
protected List<LastUsedFile> openTabFiles
protected Map<String,List<LastUsedFile>> lastUsedRepoFiles
protected String overriddenFileName
public static void init(org.eclipse.swt.widgets.Display d, int t)
d
- The Displayt
- The type of properties file.public static void init(org.eclipse.swt.widgets.Display d, String filename)
d
- The Displayfilename
- the filename to usepublic static boolean isInitialized()
public static PropsUI getInstance()
public void setDefault()
public void storeScreens()
public void loadScreens()
public void setLastFiles()
public void setLastUsedRepoFiles()
public void setOpenTabFiles()
public void addLastFile(String fileType, String filename, String directory, boolean sourceRepository, String repositoryName)
fileType
- the type of file to use @see LastUsedFilefilename
- The name of the file or transformationdirectory
- The repository directory path, null in case lf is an XML filesourceRepository
- True if the file was loaded from repository, false if ld is an XML file.repositoryName
- The name of the repository the file was loaded from or save to.public void addLastFile(String fileType, String filename, String directory, boolean sourceRepository, String repositoryName, String username, Date lastOpened, String connection)
fileType
- the type of file to use @see LastUsedFilefilename
- The name of the file or transformationdirectory
- The repository directory path, null in case lf is an XML filesourceRepository
- True if the file was loaded from repository, false if ld is an XML file.repositoryName
- The name of the repository the file was loaded from or save to.public void addOpenTabFile(String fileType, String filename, String directory, boolean sourceRepository, String repositoryName, int openTypes, String connection)
public void addOpenTabFile(String fileType, String filename, String directory, boolean sourceRepository, String repositoryName, int openTypes)
fileType
- the type of file to use @see LastUsedFilefilename
- The name of the file or transformationdirectory
- The repository directory path, null in case lf is an XML filesourceRepository
- True if the file was loaded from repository, false if ld is an XML file.repositoryName
- The name of the repository the file was loaded from or save to.public void loadLastUsedFiles()
public void loadLastUsedRepoFiles()
public void loadOpenTabFiles()
public Map<String,List<LastUsedFile>> getLastUsedRepoFiles()
public List<LastUsedFile> getLastUsedFiles()
public void setLastUsedFiles(List<LastUsedFile> lastUsedFiles)
public String[] getLastFileTypes()
public String[] getLastFiles()
public String getFilename()
getFilename
in class Props
public String[] getLastDirs()
public boolean[] getLastTypes()
public String[] getLastRepositories()
public void setFixedFont(org.eclipse.swt.graphics.FontData fd)
public org.eclipse.swt.graphics.FontData getFixedFont()
public void setDefaultFont(org.eclipse.swt.graphics.FontData fd)
public org.eclipse.swt.graphics.FontData getDefaultFont()
public void setGraphFont(org.eclipse.swt.graphics.FontData fd)
public org.eclipse.swt.graphics.FontData getGraphFont()
public void setGridFont(org.eclipse.swt.graphics.FontData fd)
public org.eclipse.swt.graphics.FontData getGridFont()
public void setNoteFont(org.eclipse.swt.graphics.FontData fd)
public org.eclipse.swt.graphics.FontData getNoteFont()
public void setBackgroundRGB(org.eclipse.swt.graphics.RGB c)
public org.eclipse.swt.graphics.RGB getBackgroundRGB()
public void setGraphColorRGB(org.eclipse.swt.graphics.RGB c)
public org.eclipse.swt.graphics.RGB getGraphColorRGB()
public void setTabColorRGB(org.eclipse.swt.graphics.RGB c)
public org.eclipse.swt.graphics.RGB getTabColorRGB()
public boolean isSVGEnabled()
public void setSVGEnabled(boolean svg)
public void setIconSize(int size)
public int getIconSize()
public void setLineWidth(int width)
public int getLineWidth()
public void setShadowSize(int size)
public int getShadowSize()
public void setLastTrans(String trans)
public String getLastTrans()
public void setLastPreview(String[] lastpreview, int[] stepsize)
public String[] getLastPreview()
public int[] getLastPreviewSize()
public org.eclipse.swt.graphics.FontData getDefaultFontData()
public void setMaxUndo(int max)
public int getMaxUndo()
public void setMiddlePct(int pct)
public int getMiddlePct()
public void setScreen(WindowProperty winprop)
public WindowProperty getScreen(String windowname)
public void setSashWeights(int[] w)
public int[] getSashWeights()
public void setOpenLastFile(boolean open)
public boolean openLastFile()
public void setAutoSave(boolean autosave)
public boolean getAutoSave()
public void setSaveConfirmation(boolean saveconf)
public boolean getSaveConfirmation()
public void setAutoSplit(boolean autosplit)
public boolean getAutoSplit()
public void setAutoCollapseCoreObjectsTree(boolean autoCollapse)
public boolean getAutoCollapseCoreObjectsTree()
public boolean showRepositoriesDialogAtStartup()
public void setExitWarningShown(boolean show)
public boolean isAntiAliasingEnabled()
public void setAntiAliasingEnabled(boolean anti)
public boolean isShowCanvasGridEnabled()
public void setShowCanvasGridEnabled(boolean anti)
public boolean showExitWarning()
public void setRepositoriesDialogAtStartupShown(boolean show)
public boolean isOSLookShown()
public void setOSLookShown(boolean show)
public static void setGCFont(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Device device, org.eclipse.swt.graphics.FontData fontData)
public void setLook(org.eclipse.swt.widgets.Control widget)
public void setLook(org.eclipse.swt.widgets.Control control, int style)
public static void setTableItemLook(org.eclipse.swt.widgets.TableItem item, org.eclipse.swt.widgets.Display disp)
public static org.eclipse.swt.widgets.Display getDisplay()
public static void setDisplay(org.eclipse.swt.widgets.Display d)
d
- The display to set.public void setDefaultPreviewSize(int size)
public int getDefaultPreviewSize()
public boolean showCopyOrDistributeWarning()
public void setShowCopyOrDistributeWarning(boolean show)
public boolean showWelcomePageOnStartup()
public void setShowWelcomePageOnStartup(boolean show)
public int getJobsDialogStyle()
public int getDialogStyle(String styleProperty)
public void setDialogSize(org.eclipse.swt.widgets.Shell shell, String styleProperty)
public boolean isBrandingActive()
public void setBrandingActive(boolean active)
public boolean isOnlyActiveFileShownInTree()
public void setOnlyActiveFileShownInTree(boolean show)
public boolean showToolTips()
public void setShowToolTips(boolean show)
public boolean isShowingHelpToolTips()
public void setShowingHelpToolTips(boolean show)
public List<LastUsedFile> getOpenTabFiles()
public void setOpenTabFiles(List<LastUsedFile> openTabFiles)
openTabFiles
- the openTabFiles to setpublic int getCanvasGridSize()
public void setCanvasGridSize(int gridSize)
public int getSupportedVersion(String property)
property
- the key for the software versionpublic boolean isBrowserEnvironmentCheckDisabled()
public boolean isLegacyPerspectiveMode()
public static void setLocation(GUIPositionInterface guiElement, int x, int y)
public boolean isIndicateSlowTransStepsEnabled()
public void setIndicateSlowTransStepsEnabled(boolean indicate)
public void setRecentSearches(String recentSearches)
public String getRecentSearches()
Copyright © 2019 Hitachi Vantara. All rights reserved.