cz.cuni.pogamut.shed.view
Class LapTreeViewDesc

Package class diagram package LapTreeViewDesc
java.lang.Object
  extended by cz.cuni.pogamut.shed.view.LapTreeViewDesc
All Implemented Interfaces:
org.netbeans.core.spi.multiview.MultiViewDescription

public class LapTreeViewDesc
extends Object
implements org.netbeans.core.spi.multiview.MultiViewDescription

Basically a factory for creation of LapTreeMVElement.

Author:
HonzaH

Constructor Summary
LapTreeViewDesc(PoshDataObject dObj)
          Create visual view of the yaposh plan from the data object.
 
Method Summary
 org.netbeans.core.spi.multiview.MultiViewElement createElement()
           
 String getDisplayName()
           
 org.openide.util.HelpCtx getHelpCtx()
          No help ctx
 Image getIcon()
          No icon
 int getPersistenceType()
          Shed is never persistent.
 String preferredID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LapTreeViewDesc

public LapTreeViewDesc(PoshDataObject dObj)
Create visual view of the yaposh plan from the data object.

Parameters:
dObj - Data object with Yaposh plan inside.
Method Detail

getPersistenceType

public int getPersistenceType()
Shed is never persistent.

Specified by:
getPersistenceType in interface org.netbeans.core.spi.multiview.MultiViewDescription
Returns:
TopComponent.PERSISTENCE_NEVER.

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface org.netbeans.core.spi.multiview.MultiViewDescription
Returns:
"Visual"

getIcon

public Image getIcon()
No icon

Specified by:
getIcon in interface org.netbeans.core.spi.multiview.MultiViewDescription

getHelpCtx

public org.openide.util.HelpCtx getHelpCtx()
No help ctx

Specified by:
getHelpCtx in interface org.netbeans.core.spi.multiview.MultiViewDescription

preferredID

public String preferredID()
Specified by:
preferredID in interface org.netbeans.core.spi.multiview.MultiViewDescription

createElement

public org.netbeans.core.spi.multiview.MultiViewElement createElement()
Specified by:
createElement in interface org.netbeans.core.spi.multiview.MultiViewDescription


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.