Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 159763 Details for
Bug 303473
[Table] Incorrect text indent if column image was visible but isn't anymore
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Snippet for controls demo
clipboard.txt (text/plain), 1.15 KB, created by
Stefan Röck
on 2010-02-22 06:47:05 EST
(
hide
)
Description:
Snippet for controls demo
Filename:
MIME Type:
Creator:
Stefan Röck
Created:
2010-02-22 06:47:05 EST
Size:
1.15 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.demo >Index: src/org/eclipse/rap/demo/controls/TableTab.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.ui/org.eclipse.rap.demo/src/org/eclipse/rap/demo/controls/TableTab.java,v >retrieving revision 1.37 >diff -u -r1.37 TableTab.java >--- src/org/eclipse/rap/demo/controls/TableTab.java 28 Sep 2009 15:03:49 -0000 1.37 >+++ src/org/eclipse/rap/demo/controls/TableTab.java 22 Feb 2010 11:43:23 -0000 >@@ -95,6 +95,21 @@ > createCellBackgroundControl(); > createCellFontControl(); > createCursorCombo(); >+ createClearButton(); >+ } >+ >+ private void createClearButton() { >+ Button btn = new Button( styleComp, SWT.PUSH ); >+ btn.setText( "Clear table" ); >+ btn.addSelectionListener( new SelectionAdapter() { >+ public void widgetSelected( SelectionEvent e ) { >+ table.clearAll(); >+ table.setItemCount( 0 ); >+ TableItem item = new TableItem( table, SWT.NONE ); >+ item.setText( "Test" ); >+ } >+ }); >+ > } > > protected void createExampleControls( final Composite parent ) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 303473
: 159763