public void splitHorizontallyWith(ViewComponentPlugin plugin) { if (getNodePanel() != null) { ComponentNode newNode = new ComponentNode(); newNode.add(createView(plugin), plugin.getLabel()); componentNode.getParent().insertNodeAfter(newNode, componentNode, SplitterNode.HORIZONTAL_SPLITTER); getNodePanel().rebuild(); } else if (getParent() instanceof ViewContainer) { ((ViewContainer) getParent()).splitHorizontally(createView(plugin)); } }
Point loc = getLocation(); SwingUtilities.convertPointToScreen(loc, this); final View view = createView(plugin); final JDialog dlg; Preferences appPrefs = PreferencesManager.getInstance().getApplicationPreferences(ProtegeApplication.ID);
Point loc = getLocation(); SwingUtilities.convertPointToScreen(loc, this); final View view = createView(plugin); final JDialog dlg; Preferences appPrefs = PreferencesManager.getInstance().getApplicationPreferences(ProtegeApplication.ID);
Point loc = getLocation(); SwingUtilities.convertPointToScreen(loc, this); final View view = createView(plugin); final JDialog dlg; Preferences appPrefs = PreferencesManager.getInstance().getApplicationPreferences(ProtegeApplication.ID);
public void splitHorizontallyWith(ViewComponentPlugin plugin) { if (getNodePanel() != null) { ComponentNode newNode = new ComponentNode(); newNode.add(createView(plugin), plugin.getLabel()); componentNode.getParent().insertNodeAfter(newNode, componentNode, SplitterNode.HORIZONTAL_SPLITTER); getNodePanel().rebuild(); } else if (getParent() instanceof ViewContainer) { ((ViewContainer) getParent()).splitHorizontally(createView(plugin)); } }
public void splitVerticallyWith(ViewComponentPlugin plugin) { if (getNodePanel() != null) { ComponentNode newNode = new ComponentNode(); newNode.add(createView(plugin), plugin.getLabel()); componentNode.getParent().insertNodeAfter(newNode, componentNode, SplitterNode.VERTICAL_SPLITTER); getNodePanel().rebuild(); } else if (getParent() instanceof ViewContainer) { ((ViewContainer) getParent()).splitVertically(createView(plugin)); } }
public void splitVerticallyWith(ViewComponentPlugin plugin) { if (getNodePanel() != null) { ComponentNode newNode = new ComponentNode(); newNode.add(createView(plugin), plugin.getLabel()); componentNode.getParent().insertNodeAfter(newNode, componentNode, SplitterNode.VERTICAL_SPLITTER); getNodePanel().rebuild(); } else if (getParent() instanceof ViewContainer) { ((ViewContainer) getParent()).splitVertically(createView(plugin)); } }
public void splitHorizontallyWith(ViewComponentPlugin plugin) { if (getNodePanel() != null) { ComponentNode newNode = new ComponentNode(); newNode.add(createView(plugin), plugin.getLabel()); componentNode.getParent().insertNodeAfter(newNode, componentNode, SplitterNode.HORIZONTAL_SPLITTER); getNodePanel().rebuild(); } else if (getParent() instanceof ViewContainer) { ((ViewContainer) getParent()).splitHorizontally(createView(plugin)); } }
public void splitVerticallyWith(ViewComponentPlugin plugin) { if (getNodePanel() != null) { ComponentNode newNode = new ComponentNode(); newNode.add(createView(plugin), plugin.getLabel()); componentNode.getParent().insertNodeAfter(newNode, componentNode, SplitterNode.VERTICAL_SPLITTER); getNodePanel().rebuild(); } else if (getParent() instanceof ViewContainer) { ((ViewContainer) getParent()).splitVertically(createView(plugin)); } }