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 139187 Details for
Bug 279132
[Design] Design disregards main menu items' disability and visibility
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.
[patch]
coolbar solution
coolbarItemVisibility (text/plain), 2.03 KB, created by
Holger Staudacher
on 2009-06-15 12:40:06 EDT
(
hide
)
Description:
coolbar solution
Filename:
MIME Type:
Creator:
Holger Staudacher
Created:
2009-06-15 12:40:06 EDT
Size:
2.03 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.design.example >Index: src/org/eclipse/rap/internal/design/example/business/managers/BusinessCoolBarManager.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.ui/org.eclipse.rap.design.example/src/org/eclipse/rap/internal/design/example/business/managers/BusinessCoolBarManager.java,v >retrieving revision 1.1 >diff -u -r1.1 BusinessCoolBarManager.java >--- src/org/eclipse/rap/internal/design/example/business/managers/BusinessCoolBarManager.java 28 May 2009 13:18:24 -0000 1.1 >+++ src/org/eclipse/rap/internal/design/example/business/managers/BusinessCoolBarManager.java 15 Jun 2009 16:40:43 -0000 >@@ -302,16 +302,18 @@ > if( manager != null ) { > IContributionItem[] toolItems = manager.getItems(); > for( int j = 0; j < toolItems.length; j++ ) { >- if( toolItems[ j ] instanceof ActionContributionItem ) { >- // actions >- ActionContributionItem actionItem >- = ( ActionContributionItem ) toolItems[ j ]; >- addActionToCoolBar( actionItem ); >- } else if( toolItems[ j ] instanceof CommandContributionItem ) { >- // commands >- CommandContributionItem commandItem >- = ( CommandContributionItem ) toolItems[ j ]; >- addCommandToCoolBar( commandItem ); >+ if( toolItems[ j ].isVisible() ) { >+ if( toolItems[ j ] instanceof ActionContributionItem ) { >+ // actions >+ ActionContributionItem actionItem >+ = ( ActionContributionItem ) toolItems[ j ]; >+ addActionToCoolBar( actionItem ); >+ } else if( toolItems[ j ] instanceof CommandContributionItem ) { >+ // commands >+ CommandContributionItem commandItem >+ = ( CommandContributionItem ) toolItems[ j ]; >+ addCommandToCoolBar( commandItem ); >+ } > } > } > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279132
:
138602
|
138705
| 139187