krysalis-jplugin/src/java/org/krysalis/jplugin/components/holders SplitPaneHolder.java,1.4,1.5 SingleSheetActivatingHolder.java,1.6,1.7 JVerticalComponentBar.java,1.3,1.4 JSplitterComponentBar.java,1.2,NONE
[email protected] Mon, 29 Sep 2003 08:54:16 -0700
Newsgroups
gmane.comp.krysalis.metamorphosis.cvs
Message-ID
<[email protected] >
Update of /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/components/holders
In directory sc8-pr-cvs1:/tmp/cvs-serv3380/src/java/org/krysalis/jplugin/components/holders
Modified Files:
SplitPaneHolder.java SingleSheetActivatingHolder.java
JVerticalComponentBar.java
Removed Files:
JSplitterComponentBar.java
Log Message:
Last round of Logging fixes and other small code tweak.
Compiles but will not ye work, as dependencies are also in the
component descriptor.
Will fix later.
Index: SplitPaneHolder.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/components/holders/SplitPaneHolder.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** SplitPaneHolder.java 29 Sep 2003 15:46:34 -0000 1.4
--- SplitPaneHolder.java 29 Sep 2003 15:54:14 -0000 1.5
***************
*** 10,13 ****
--- 10,14 ----
import javax.swing.JLabel;
import javax.swing.JSplitPane;
+ import javax.swing.SwingConstants;
import org.apache.avalon.framework.component.Component;
***************
*** 15,19 ****
import org.apache.avalon.framework.component.ComponentManager;
import org.apache.avalon.framework.component.Composable;
- import org.krysalis.jplugin.framework.concerns.Logging;
import org.krysalis.jplugin.framework.holders.Holder;
import org.krysalis.swingx.resources.ResourceFactory;
--- 16,19 ----
***************
*** 71,75 ****
component = new JLabel("non visual component selected",
resourceFactory.getImageIcon("monarchSmallStill23.gif"),
! JLabel.HORIZONTAL);
}
--- 71,75 ----
component = new JLabel("non visual component selected",
resourceFactory.getImageIcon("monarchSmallStill23.gif"),
! SwingConstants.HORIZONTAL);
}
Index: SingleSheetActivatingHolder.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/components/holders/SingleSheetActivatingHolder.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** SingleSheetActivatingHolder.java 29 Sep 2003 15:46:34 -0000 1.6
--- SingleSheetActivatingHolder.java 29 Sep 2003 15:54:14 -0000 1.7
***************
*** 38,42 ****
import org.apache.avalon.framework.context.Contextualizable;
import org.krysalis.jplugin.engine.Lifecycle;
- import org.krysalis.jplugin.framework.concerns.Logging;
import org.krysalis.jplugin.framework.holders.SheetHolder;
import org.krysalis.jplugin.framework.holders.ToolHolder;
--- 38,41 ----
Index: JVerticalComponentBar.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/components/holders/JVerticalComponentBar.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** JVerticalComponentBar.java 29 Sep 2003 14:44:52 -0000 1.3
--- JVerticalComponentBar.java 29 Sep 2003 15:54:14 -0000 1.4
***************
*** 37,41 ****
*/
public void addComponent(Component child) {
- if (child instanceof Component) {
if (child instanceof Named) {
Named namedChild = (Named) child;
--- 37,40 ----
***************
*** 46,50 ****
}
}
- }
--- 45,48 ----
***************
*** 59,66 ****
Named namedChild = (Named) child;
addComponent(namedChild.getName(),
! namedChild.getIcon(), (javax.swing.JComponent) child);
} else {
! addComponent(child.toString(), (javax.swing.JComponent) child);
}
}
--- 57,64 ----
Named namedChild = (Named) child;
addComponent(namedChild.getName(),
! namedChild.getIcon(), child);
} else {
! addComponent(child.toString(), child);
}
}
--- JSplitterComponentBar.java DELETED ---
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf