本文整理了Java中org.eclipse.swt.widgets.Table.setEnabled()
方法的一些代码示例,展示了Table.setEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.setEnabled()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Table
类名称:Table
方法名:setEnabled
暂无
代码示例来源:origin: pentaho/pentaho-kettle
public void resetPropertyTableVisibility() {
propertiesTable.setEnabled( wCheckBox.getSelection()
&& ( selectedConnectionType.equals( JmsProvider.ConnectionType.WEBSPHERE )
|| !wUseDefaultCheckBox.getSelection() ) );
propertiesTable.table.setEnabled( wCheckBox.getSelection()
&& ( selectedConnectionType.equals( JmsProvider.ConnectionType.WEBSPHERE )
|| !wUseDefaultCheckBox.getSelection() ) );
}
代码示例来源:origin: pentaho/pentaho-kettle
@Override public void widgetSelected( SelectionEvent selectionEvent ) {
boolean selection = ( (Button) selectionEvent.getSource() ).getSelection();
sslTable.setEnabled( selection );
sslTable.table.setEnabled( selection );
}
代码示例来源:origin: pentaho/pentaho-kettle
void setUIText() {
wUseSSL.setSelection( sslEnabled );
sslTable.setEnabled( sslEnabled );
sslTable.table.setEnabled( sslEnabled );
sslTable.table.select( 0 );
sslTable.table.showSelection();
}
代码示例来源:origin: pentaho/pentaho-kettle
@Override public void widgetDefaultSelected( SelectionEvent selectionEvent ) {
boolean selection = ( (Button) selectionEvent.getSource() ).getSelection();
propertiesTable.setEnabled( selection );
propertiesTable.table.setEnabled( selection );
lsMod.modifyText( null );
}
} );
代码示例来源:origin: pentaho/pentaho-kettle
private void setUIText() {
wCheckBox.setSelection( isEnabled );
propertiesTable.setEnabled( isEnabled );
propertiesTable.table.setEnabled( isEnabled );
propertiesTable.table.select( 0 );
propertiesTable.table.showSelection();
}
代码示例来源:origin: pentaho/pentaho-kettle
@Override public void widgetSelected( SelectionEvent selectionEvent ) {
boolean selection = ( (Button) selectionEvent.getSource() ).getSelection();
propertiesTable.setEnabled( selection );
propertiesTable.table.setEnabled( selection );
lsMod.modifyText( null );
}
代码示例来源:origin: org.eclipse/org.eclipse.ui.net
public void enableComposite(boolean enabled) {
table_.setEnabled(enabled);
add_.setEnabled(enabled);
edit_.setEnabled(enabled);
remove_.setEnabled(enabled);
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
@Override
public void setEnabled (boolean enabled) {
super.setEnabled(enabled);
table.setEnabled(enabled);
}
@Override
代码示例来源:origin: org.codehaus.openxma/xmartclient
/**
* @see at.spardat.xma.mdl.UIDelegateClient#setEnabled(boolean)
*/
public void setEnabled (boolean what) {
enabled_ = what;
if (isUIAttached()) {
table_.setEnabled(what);
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.ui.workbench
@Override
protected void handleEmptyList() {
super.handleEmptyList();
fLowerList.setEnabled(false);
}
代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64
public void setEnabled (boolean enabled) {
super.setEnabled(enabled);
table.setEnabled(enabled);
}
public void setFont (Font font) {
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
@Override
public void setEnabled (boolean enabled) {
super.setEnabled(enabled);
table.setEnabled(enabled);
}
@Override
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
@Override
public void setEnabled (boolean enabled) {
super.setEnabled(enabled);
table.setEnabled(enabled);
}
@Override
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
@Override
public void setEnabled (boolean enabled) {
super.setEnabled(enabled);
table.setEnabled(enabled);
}
@Override
代码示例来源:origin: inspectIT/inspectIT
/**
* Disables or enabled the controls depending on wheterh EUM is enalbed or not.
*/
private void updateEnabledState() {
boolean en = eumEnabledButton.getSelection();
modulesTable.setEnabled(en);
scriptBaseUrl.setEnabled(en);
listenerInstrumentationAllowedButton.setEnabled(en);
minificationEnabledButton.setEnabled(en);
relevancyThresholdMS.setEnabled(en);
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.editors
@Override
public void widgetSelected(SelectionEvent e) {
boolean state= fHyperlinksEnabledCheckBox.getSelection();
fHyperlinkDefaultKeyModifierText.setEnabled(state);
fHyperlinkKeyModifierText.setEnabled(state && getSelectedItem() != null);
fHyperlinkDetectorsViewer.getTable().setEnabled(state);
handleHyperlinkKeyModifierModified();
}
@Override
代码示例来源:origin: org.eclipse/org.eclipse.ui.editors
public void widgetSelected(SelectionEvent e) {
boolean state= fHyperlinksEnabledCheckBox.getSelection();
fHyperlinkDefaultKeyModifierText.setEnabled(state);
fHyperlinkKeyModifierText.setEnabled(state && getSelectedItem() != null);
fHyperlinkDetectorsViewer.getTable().setEnabled(state);
handleHyperlinkKeyModifierModified();
}
public void widgetDefaultSelected(SelectionEvent e) {
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
protected void initializeEnablement() {
MemberActionInfo[] infos= asMemberActionInfos();
final boolean enabled= infos.length > 0;
fTableViewer.getTable().setEnabled(enabled);
fStatusLine.setEnabled(enabled);
fAddButton.setEnabled(enabled);
fLabel.setEnabled(enabled);
}
代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui
protected void initializeEnablement() {
MemberActionInfo[] infos= asMemberActionInfos();
final boolean enabled= infos.length > 0;
fTableViewer.getTable().setEnabled(enabled);
fStatusLine.setEnabled(enabled);
fAddButton.setEnabled(enabled);
fLabel.setEnabled(enabled);
}
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui
protected void initializeEnablement() {
MemberActionInfo[] infos= asMemberActionInfos();
final boolean enabled= infos.length > 0;
fTableViewer.getTable().setEnabled(enabled);
fStatusLine.setEnabled(enabled);
fAddButton.setEnabled(enabled);
fLabel.setEnabled(enabled);
}
内容来源于网络,如有侵权,请联系作者删除!