mercoledì 9 ottobre 2013

Empty e4 RCP Application with livemodel ready

This is the content of Application.e4xml file that represents an empty e4 application with the livemodel tool ready to show when pressed "ALT+F9":

 <application:application elementid="backoffice-rcp.bundle.application" xmi:id="_KQrIEDEaEeOrvaIJ_du62A" xmi:version="2.0" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">  
  <children elementid="backoffice-rcp.bundle.trimmedwindow.0" xmi:id="_PM_UQDEeEeOm9_xoDmNMiQ" xsi:type="basic:TrimmedWindow">  
  <handlers command="_spDM0DEiEeOm9_xoDmNMiQ" contributionuri="bundleclass://org.eclipse.e4.tools.emf.liveeditor/org.eclipse.e4.tools.emf.liveeditor.OpenLiveDialogHandler" elementid="e4.tooling.livemodel.handler" xmi:id="_j2GJcDEiEeOm9_xoDmNMiQ">  
  <bindingtables bindingcontext="_thbUYDEkEeOm9_xoDmNMiQ" contributoruri="platform:/plugin/org.eclipse.platform" elementid="backoffice-rcp.bundle.bindingtable.0" xmi:id="_QHHA4DEjEeOm9_xoDmNMiQ">  
   <bindings command="_spDM0DEiEeOm9_xoDmNMiQ" elementid="e4.tooling.livemodel.binding" keysequence="ALT+F9" xmi:id="_Q4ezcDEjEeOm9_xoDmNMiQ">  
  </bindings></bindingtables>  
  <rootcontext description="Either a dialog or a window is open" elementid="backoffice-rcp.bundle.bindingcontext.0" name="In Dialogs and Windows" xmi:id="_thbUYDEkEeOm9_xoDmNMiQ">  
  <commands commandname="Show running app model" description="Show the running application model" elementid="e4.tooling.livemodel" xmi:id="_spDM0DEiEeOm9_xoDmNMiQ">  
  <addons contributionuri="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon" elementid="org.eclipse.e4.core.commands.service" xmi:id="_KQrIETEaEeOrvaIJ_du62A">  
  <addons contributionuri="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon" elementid="org.eclipse.e4.ui.contexts.service" xmi:id="_KQrIEjEaEeOrvaIJ_du62A">  
  <addons contributionuri="bundleclass://org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon" elementid="org.eclipse.e4.ui.bindings.service" xmi:id="_KQrIEzEaEeOrvaIJ_du62A">  
  <addons contributionuri="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon" elementid="org.eclipse.e4.ui.workbench.commands.model" xmi:id="_KQrIFDEaEeOrvaIJ_du62A">  
  <addons contributionuri="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon" elementid="org.eclipse.e4.ui.workbench.contexts.model" xmi:id="_KQrIFTEaEeOrvaIJ_du62A">  
  <addons contributionuri="bundleclass://org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon" elementid="org.eclipse.e4.ui.workbench.bindings.model" xmi:id="_KQrIFjEaEeOrvaIJ_du62A">  
  <addons contributionuri="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon" elementid="org.eclipse.e4.ui.workbench.handler.model" xmi:id="_KQrIFzEaEeOrvaIJ_du62A">  
 </addons></addons></addons></addons></addons></addons></addons></commands></rootcontext></handlers></children></application:application>  

lunedì 20 maggio 2013

Error mounting ext3 partition: no journal found

After some power failures, I can't mount my HDD ext3 partition.
The kernel says:
EXT4-fs (sde1): mounting ext3 file system using the ext4 subsystem
EXT4-fs error (device sde1): ext4_iget:3889: inode #8: comm mount: bad extra_isize (33280 != 256)
EXT4-fs (sde1): no journal found 

The solution was to recreate the journal of ext33 partition (from http://www.watters.ws/mediawiki/index.php/Repair_ext3_journal_errors):

tune2fs -O ^has_journal /dev/sdXY

e2fsck -f /dev/sdXY

tune2fs -j /dev/sdXY 

domenica 17 febbraio 2013

IpadCharge on Fedora 18

If you installed with you ipad_charge and it dowsn't work, try to update che /etc/udev/95-ipad_charge.rules with the last one from https://github.com/mkorenkov/ipad_charge.