当前位置: 首页>>代码示例>>Java>>正文


Java WindowProperty类代码示例

本文整理汇总了Java中org.pentaho.di.ui.core.gui.WindowProperty的典型用法代码示例。如果您正苦于以下问题:Java WindowProperty类的具体用法?Java WindowProperty怎么用?Java WindowProperty使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


WindowProperty类属于org.pentaho.di.ui.core.gui包,在下文中一共展示了WindowProperty类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: loadScreens

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void loadScreens()
{
	screens = new Hashtable<String,WindowProperty>();
	
	int nr = 1;
	
	String name = properties.getProperty("ScreenName"+nr);
	while (name!=null)
	{
		boolean max = YES.equalsIgnoreCase(properties.getProperty(STRING_SIZE_MAX+nr));
		int x = Const.toInt(properties.getProperty(STRING_SIZE_X+nr),   0);
		int y = Const.toInt(properties.getProperty(STRING_SIZE_Y+nr),   0);
		int w = Const.toInt(properties.getProperty(STRING_SIZE_W+nr), 320);
		int h = Const.toInt(properties.getProperty(STRING_SIZE_H+nr), 200);
		
		WindowProperty winprop = new WindowProperty(name, max, x, y, w, h);
		screens.put(name, winprop);
		
		nr++;
		name = properties.getProperty("ScreenName"+nr);
	}
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:23,代码来源:PropsUI.java

示例2: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
  props.setScreen( new WindowProperty( shell ) );
  bounds = shell.getBounds();
  hscroll = wFields.getHorizontalBar().getSelection();
  vscroll = wFields.getVerticalBar().getSelection();
  shell.dispose();
}
 
开发者ID:mattcasters,项目名称:pentaho-pdi-dataset,代码行数:8,代码来源:EditRowsDialog.java

示例3: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose()
{
	closeMailConnection();
    WindowProperty winprop = new WindowProperty(shell);
    props.setScreen(winprop);
    shell.dispose();
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:8,代码来源:JobEntryGetPOPDialog.java

示例4: quitFile

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public boolean quitFile()
{
    WindowProperty winprop = new WindowProperty(shell);
    props.setScreen(winprop);
    props.saveProps();

    shell.dispose();
    display.dispose();
    return true;
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:11,代码来源:Translator.java

示例5: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose()
{
	closeFTPConnections();
    WindowProperty winprop = new WindowProperty(shell);
    props.setScreen(winprop);
    shell.dispose();
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:8,代码来源:JobEntrySSH2GETDialog.java

示例6: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose()
{
	closeFTPConnection();
    WindowProperty winprop = new WindowProperty(shell);
    props.setScreen(winprop);
    shell.dispose();
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:8,代码来源:JobEntryFTPDialog.java

示例7: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
  props.setScreen(new WindowProperty(shell));
  bounds = shell.getBounds();
  hscroll = wFields.getHorizontalBar().getSelection();
  vscroll = wFields.getVerticalBar().getSelection();
  shell.dispose();
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:8,代码来源:PreviewRowsDialog.java

示例8: commit

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void commit()
{
    try
    {
        rep.commit();
    }
    catch(KettleException e)
    {
		new ErrorDialog(shell, Messages.getString("RepositoryExplorerDialog.PopupMenu.Dialog.ErrorCommitingChanges.Title"), Messages.getString("RepositoryExplorerDialog.PopupMenu.Dialog.ErrorCommitingChanges.Message"), e); //$NON-NLS-1$ //$NON-NLS-2$
    }
       
       props.setScreen(new WindowProperty(shell));
       shell.dispose();
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:15,代码来源:RepositoryExplorerDialog.java

示例9: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose()
{
	if(this.folder!=null) {
 	try {
 		this.folder.close(false);
 	}catch(Exception e){};
	}
    props.setScreen(new WindowProperty(shell));
    shell.dispose();
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:11,代码来源:SelectFolderDialog.java

示例10: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
	props.setScreen(new WindowProperty(shell));
	fontColor.dispose();
	bgColor.dispose();
	borderColor.dispose();
	if (font!=null && !font.isDisposed()) {
		font.dispose();
	}
	shell.dispose();
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:11,代码来源:NotePadDialog.java

示例11: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose()
{
    props.setScreen(new WindowProperty(shell));
    bounds = shell.getBounds();
    hscroll = wFields.getHorizontalBar().getSelection();
    vscroll = wFields.getVerticalBar().getSelection();
    geoFeaturesManager.dispose();
    shell.dispose();
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:10,代码来源:PreviewRowsDialog.java

示例12: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
  WindowProperty winprop = new WindowProperty( shell );
  props.setScreen( winprop );
  shell.dispose();
}
 
开发者ID:majinju,项目名称:KettleEasyExpand,代码行数:6,代码来源:JobEntryEasyExpandDialog.java

示例13: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
  props.setScreen( new WindowProperty( shell ) );
  shell.dispose();
}
 
开发者ID:mattcasters,项目名称:pdi-hcp-plugin,代码行数:5,代码来源:HCPConnectionDialog.java

示例14: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
  props.setScreen(new WindowProperty(shell));
  shell.dispose();
}
 
开发者ID:mattcasters,项目名称:pentaho-pdi-dataset,代码行数:5,代码来源:TransUnitTestDialog.java

示例15: dispose

import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
  m_props.setScreen(new WindowProperty(m_shell));
  m_shell.dispose();
}
 
开发者ID:javachen,项目名称:learning-hadoop,代码行数:5,代码来源:EnterCQLDialog.java


注:本文中的org.pentaho.di.ui.core.gui.WindowProperty类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。