本文整理汇总了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);
}
}
示例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();
}
示例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();
}
示例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;
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例12: dispose
import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
WindowProperty winprop = new WindowProperty( shell );
props.setScreen( winprop );
shell.dispose();
}
示例13: dispose
import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
props.setScreen( new WindowProperty( shell ) );
shell.dispose();
}
示例14: dispose
import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
props.setScreen(new WindowProperty(shell));
shell.dispose();
}
示例15: dispose
import org.pentaho.di.ui.core.gui.WindowProperty; //导入依赖的package包/类
public void dispose() {
m_props.setScreen(new WindowProperty(m_shell));
m_shell.dispose();
}