Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jwt-dev] Tabbed Properties and Branch

Hi Chris, hi Marc,
 
the feature for the tabbed properties works fine! With the addition of the email below simply copied into the plugin.xml one can see another tab which is displayed every time an activitynode has been selected. Chris, is there a bug entry avaible for this feature? Then we can close this bug (I simply didn't find one).
 
Marc: Chris and myself both seem to struggle to come to the branch you've created. Where exactly can we find it in CVS? Could you please provide us with more details? I searched in CVSROOT, but didn't find it anywhere. Probably (because it's a branch) it cannot be found there, but I simply didn't know another place to search for ;-)
 
Chris: putting some more explanation on the wiki about all the extensions you've made during the last time, would be great! Simply log into the wiki using your Bugzilla account and edit the pages you'd like to.
 
Best regards,
 
Florian
 


Von: Christian Saad [mailto:saad.christian@xxxxxxxxxxxxxx]
Gesendet: 14 July 2008 13:16
An: 'Florian Lautenbacher'
Betreff: AW: JWT WE - Code

Hi Flo,

 

Sorry, hab ganz übersehen, dass die von der Views.java schon benötigt werden. Wollte eigentlich zuerst nur den Fix für die Laden/Speichern/RecentWorkflorkflow Probleme (sollte inzwischen alles korrekt funktionieren) hochladen.

Das mit den FigureFactories scheint aber inzwischen auch zu laufen, deswegen habe ich das jetzt gleich komplett mit hochgeladen. Ich habe dazu auch Dein Beispiel jwt-we-view-extension aktualisiert und die neue Version im Bug 238259 angehängt. Was evtl noch fehlen würde (ist mir erst beim ausprobieren aufgefallen), wäre eine Möglichkeit auch die Icons der Modellobjekte auszutauschen, damit man z.B. auch in der Palette das Aussehen abgeändert wird.

 

Um die Tabbed Properties auszuprobieren müsstest Du noch ein zusätzliches Tab erzeugen (in einem Plugin oder im WE selber), weil ich das alte Propertysheet drin gelassen habe. Die Tabbed-Version wird nur aktiviert, wenn beim Start mehr als das eine Standardtab gefunden wurde. Mit den folgenden Einträgen in der Plugin.xml wird ein zweites Tab erstellt, das ebenfalls die Modellelementproperties anzeigt, aber nur erscheint wenn ein ActivityNode ausgewählt wurde:

 

   <extension

         point="org.eclipse.ui.views.properties.tabbed.propertyTabs">

      <propertyTabs

            contributorId="org.eclipse.jwt.we.editors.WEEditor">

         <propertyTab

               afterTab="org.eclipse.jwt.we.PropertyTabStandard"

               category="WEStandardCategory"

               id="org.eclipse.jwt.we.Erweitert"

               label="Erweitert">

         </propertyTab>

      </propertyTabs>

   </extension>

   <extension

         point="org.eclipse.ui.views.properties.tabbed.propertySections">

      <propertySections

            contributorId="org.eclipse.jwt.we.editors.WEEditor">

         <propertySection

               class="org.eclipse.jwt.we.editors.properties.tabbedPage.AdvancedPropertySection"

               id="mview.LabelSection2"

               tab="org.eclipse.jwt.we.Erweitert">

            <input

                  type="org.eclipse.jwt.we.model.processes.ActivityNode">

            </input>

         </propertySection>

      </propertySections>

   </extension>

 

Wie man den CVS-Branch vom Marc extra betrachten kann, habe ich leider auch noch nicht rausgefunden. Nur, dass man über das Kontextmenü/Replace with/Another Branch or Version die lokale Version komplett austauschen kann.

 

Gibt es eigentlich die Möglichkeit für mich auch die JWT Wiki Seiten zu editieren? Ich dachte mir, es wäre wahrscheinlich sinnvoll alle Erweiterungen zu JWT-WE zu dokumentieren, evtl. mit Schritt für Schritt Anleitungen bzw. auch andere wiederkehrende Aufgaben, wie z.B. das hinzufügen von Preferences oder eine Checkliste für Releases.

 

Viele Grüße,

Chris

 


Back to the top