From 39c8aed03fee5d6dcf85b653f32a5be141c4bf2f Mon Sep 17 00:00:00 2001 From: homebeaver Date: Fri, 8 Sep 2023 12:08:36 +0200 Subject: [PATCH] java doc error - cannot deploy --- .../jdesktop/swingx/demos/tree/MTreeNode.java | 108 ------------------ 1 file changed, 108 deletions(-) diff --git a/src/main/java/org/jdesktop/swingx/demos/tree/MTreeNode.java b/src/main/java/org/jdesktop/swingx/demos/tree/MTreeNode.java index e146972..fdb8e26 100644 --- a/src/main/java/org/jdesktop/swingx/demos/tree/MTreeNode.java +++ b/src/main/java/org/jdesktop/swingx/demos/tree/MTreeNode.java @@ -8,9 +8,7 @@ import javax.swing.ImageIcon; import org.jdesktop.swingx.treetable.AbstractMutableTreeTableNode; -import org.jdesktop.swingx.treetable.DefaultMutableTreeTableNode; import org.jdesktop.swingx.treetable.MutableTreeTableNode; -import org.jdesktop.swingx.treetable.TreeTableNode; /* * Mutable Tree Node (not a PO). @@ -224,17 +222,6 @@ public void setSummary(boolean isSummary) { super.setAllowsChildren(isSummary); } - /** - * Set Image Indicator and Index W X R P F T B S X_AD_Menu.ACTION_XXX - * @param imageIndicator image indicator (W/X/R/P/F/T/B) MWFNode.ACTION_ - */ -// public void setImageIndicator(String imageIndicator) { -// if (imageIndicator != null) { -// m_imageIndicator = imageIndicator; -// m_imageIndex = getImageIndex(m_imageIndicator); -// } -// } - public static final int TYPE_WINDOW = 1; public static final int TYPE_REPORT = 2; public static final int TYPE_PROCESS = 3; @@ -244,70 +231,6 @@ public void setSummary(boolean isSummary) { public static final int TYPE_USERCHOICE = 7; public static final int TYPE_DOCACTION = 8; -// static final int SMALL_ICON_SIZE = 16; -// AbstractImageTranscoder AIT = AbstractImageTranscoder.getInstance(); -// public JXIcon getImageIcon() { -// return getImageIcon(m_imageIndex, JXIcon.SMALL_ICON); -// } -// public static JXIcon getImageIcon(int index, int iconSize) { -// switch (index) { -// case TYPE_WINDOW: -// return IconFactory.getMENU_WINDOW(iconSize); -// case TYPE_REPORT: -// return IconFactory.getREPORT(iconSize); -// case TYPE_PROCESS: -// return IconFactory.getPROCESS(iconSize); -// case TYPE_WORKFLOW: -// return IconFactory.getWORKFLOW(iconSize); -// case TYPE_WORKBENCH: -// return IconFactory.getEND(iconSize); -// case TYPE_SETVARIABLE: -// return IconFactory.getREPORT(iconSize); -// case TYPE_USERCHOICE: -// return IconFactory.getPROCESS(iconSize); -// case TYPE_DOCACTION: -// return IconFactory.getWORKFLOW(iconSize); -// default: -// return IconFactory.getFOLDER(iconSize); -// } -// } - - /************************************************************************** - * Get Image Indicator/Index - * @param imageIndicator image indicator (W/X/R/P/F/T/B) MWFNode.ACTION_ - * @return index of image - */ -// public static int getImageIndex (String imageIndicator) { -// int imageIndex = 0; -// if (imageIndicator == null) -// ; -// else if (imageIndicator.equals(MWFNode.ACTION_UserWindow) // W Window -// || imageIndicator.equals(MWFNode.ACTION_UserForm)) // X -// imageIndex = TYPE_WINDOW; -// else if (imageIndicator.equals(MWFNode.ACTION_AppsReport)) // R Report -// imageIndex = TYPE_REPORT; -// else if (imageIndicator.equals(MWFNode.ACTION_AppsProcess) // P Process -// || imageIndicator.equals(MWFNode.ACTION_AppsTask)) // T -// imageIndex = TYPE_PROCESS; -// else if (imageIndicator.equals(MWFNode.ACTION_SubWorkflow)) // F WorkFlow -// imageIndex = TYPE_WORKFLOW; -// /* -// else if (imageIndicator.equals(MWFNode.ACTION_UserWorkbench)) // Workbench -// imageIndex = TYPE_WORKBENCH; -// */ -// else if (imageIndicator.equals(MWFNode.ACTION_SetVariable)) // V Set Variable -// imageIndex = TYPE_SETVARIABLE; -// else if (imageIndicator.equals(MWFNode.ACTION_UserChoice)) // C User Choice -// imageIndex = TYPE_USERCHOICE; -// else if (imageIndicator.equals(MWFNode.ACTION_DocumentAction)) // D Document Action -// imageIndex = TYPE_DOCACTION; -// else if (imageIndicator.equals(MWFNode.ACTION_WaitSleep)) // Z Sleep -// ; -// else if (imageIndicator.equals(MWFNode.ACTION_SmartBrowse)) // S Smart Browser -// imageIndex = TYPE_DOCACTION; -// return imageIndex; -// } - /*************************************************************************/ @Override @@ -380,35 +303,4 @@ public MTreeNode findNode(int ID) { return null; } -// /*************************************************************************/ -// -// /** Last found ID */ -// private int m_lastID = -1; -// /** Last found Node */ -// private MTreeNode m_lastNode = null; -// /* -// * findNode aus (base) org.compiere.model.MTreeNode : (zur Info) -// */ -// public MTreeNode findNodeXXX (int ID) -// { -// if (m_node_ID == ID) -// return this; -// // -// if (ID == m_lastID && m_lastNode != null) -// return m_lastNode; -// // -// Enumeration en = preorderEnumeration(); -// while (en.hasMoreElements()) -// { -// MTreeNode nd = (MTreeNode)en.nextElement(); -// if (ID == nd.getNode_ID()) -// { -// m_lastID = ID; -// m_lastNode = nd; -// return nd; -// } -// } -// return null; -// } // findNode - }