/** * Toggle the display of expert properties. */ public void run() { PropertySheetViewer ps = getPropertySheet(); ps.deactivateCellEditor(); if (isChecked()) { ps.showExpert(); } else { ps.hideExpert(); } } }
filterAction = new FilterAction(viewer, "filter"); //$NON-NLS-1$ filterAction.setText(PropertiesMessages.Filter_text); filterAction.setToolTipText(PropertiesMessages.Filter_toolTip); filterAction .setImageDescriptor(ViewsPlugin.getViewImageDescriptor("elcl16/filter_ps.gif")); //$NON-NLS-1$ filterAction.setChecked(false);
filterAction = new FilterAction(viewer, "filter"); //$NON-NLS-1$ filterAction.setText(PropertiesMessages.Filter_text); filterAction.setToolTipText(PropertiesMessages.Filter_toolTip); filterAction.setImageDescriptor(createImageDescriptor("elcl16/filter_ps.png")); //$NON-NLS-1$ filterAction.setChecked(false);
filterAction = new FilterAction(viewer, "filter"); //$NON-NLS-1$ filterAction.setText(PropertiesMessages.Filter_text); filterAction.setToolTipText(PropertiesMessages.Filter_toolTip); filterAction.setImageDescriptor(createImageDescriptor("elcl16/filter_ps.png")); //$NON-NLS-1$ filterAction.setChecked(false);
/** * Toggle the display of expert properties. */ @Override public void run() { PropertySheetViewer ps = getPropertySheet(); ps.deactivateCellEditor(); if (isChecked()) { ps.showExpert(); } else { ps.hideExpert(); } } }
/** * Toggle the display of expert properties. */ @Override public void run() { PropertySheetViewer ps = getPropertySheet(); ps.deactivateCellEditor(); if (isChecked()) { ps.showExpert(); } else { ps.hideExpert(); } } }